VirtualSnapshotSpan.Contains Method (VirtualSnapshotPoint)
Determines whether or not the given virtual point is contained within this virtual span.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Декларация
Public Function Contains ( _
virtualPoint As VirtualSnapshotPoint _
) As Boolean
public bool Contains(
VirtualSnapshotPoint virtualPoint
)
public:
bool Contains(
VirtualSnapshotPoint virtualPoint
)
member Contains :
virtualPoint:VirtualSnapshotPoint -> bool
public function Contains(
virtualPoint : VirtualSnapshotPoint
) : boolean
Parameters
- virtualPoint
Type: Microsoft.VisualStudio.Text.VirtualSnapshotPoint
The virtual point.
Return Value
Type: System.Boolean
true if the position is greater than or equal to Start and less than End, otherwise false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.