AvalonEdit
GetPreviousSegment Method (segment)
NamespacesICSharpCode.AvalonEdit.DocumentTextSegmentCollection<(Of <(<'T>)>)>GetPreviousSegment(T)
Gets the previous segment before the specified segment. Segments are sorted by their start offset. Returns null if segment is the first segment.
Declaration Syntax
C#Visual BasicVisual C++
public T GetPreviousSegment(
	T segment
)
Public Function GetPreviousSegment ( _
	segment As T _
) As T
public:
T GetPreviousSegment(
	T segment
)
Parameters
segment (T)

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238