Contains Method (thisSegment, segment)
NamespacesICSharpCode.AvalonEdit.DocumentISegmentExtensionsContains(ISegment, ISegment)
Gets whether thisSegment fully contains the specified segment.
Declaration Syntax
C#Visual BasicVisual C++
public static bool Contains(
	this ISegment thisSegment,
	ISegment segment
<ExtensionAttribute> _
Public Shared Function Contains ( _
	thisSegment As ISegment, _
	segment As ISegment _
) As Boolean
static bool Contains(
	ISegment^ thisSegment, 
	ISegment^ segment
thisSegment (ISegment)
segment (ISegment)
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type ISegment. When you use instance method syntax to call this method, omit the first parameter.

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