FindOverlappingSegments Method (offset, length)
NamespacesICSharpCode.AvalonEdit.DocumentTextSegmentCollection<(Of <(<'T>)>)>FindOverlappingSegments(Int32, Int32)
Finds all segments that overlap with the given segment (including touching segments). Segments are returned in the order given by GetNextSegment/GetPreviousSegment.
Declaration Syntax
C#Visual BasicVisual C++
public ReadOnlyCollection<T> FindOverlappingSegments(
	int offset,
	int length
Public Function FindOverlappingSegments ( _
	offset As Integer, _
	length As Integer _
) As ReadOnlyCollection(Of T)
ReadOnlyCollection<T>^ FindOverlappingSegments(
	int offset, 
	int length
offset (Int32)
length (Int32)
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: