Finds all segments that overlap with the given segment (including touching segments).
|C#||Visual Basic||Visual C++|
public ReadOnlyCollection<T> FindOverlappingSegments( ISegment segment )
Public Function FindOverlappingSegments ( _ segment As ISegment _ ) As ReadOnlyCollection(Of T)
public: ReadOnlyCollection<T>^ FindOverlappingSegments( ISegment^ segment )
- segment (ISegment)
Returns a new collection containing the results of the query. This means it is safe to modify the TextSegmentCollection while iterating through the result collection.
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 126.96.36.19938