Поделиться через


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

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

See Also

Reference

VirtualSnapshotSpan Structure

Contains Overload

Microsoft.VisualStudio.Text Namespace