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)

public:
bool Contains(
	VirtualSnapshotPoint virtualPoint
)

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.

Return to top
Show: