AvalonEdit
FindOverlappingSegments Method (segment)
NamespacesICSharpCode.AvalonEdit.DocumentTextSegmentCollection<(Of <(<'T>)>)>FindOverlappingSegments(ISegment)
Finds all segments that overlap with the given segment (including touching segments).
Declaration Syntax
C#Visual BasicVisual C++
public ReadOnlyCollection<T> FindOverlappingSegments(
	ISegment segment
)
Public Function FindOverlappingSegments ( _
	segment As ISegment _
) As ReadOnlyCollection(Of T)
public:
ReadOnlyCollection<T>^ FindOverlappingSegments(
	ISegment^ segment
)
Parameters
segment (ISegment)
Return Value
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: 5.0.0.4238