SnapshotSpan::Contains Method (SnapshotPoint)

 

Determines whether the specified SnapshotPoint lies within the span.

Namespace:   Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

public:
bool Contains(
	SnapshotPoint point
)

Return Value

Type: System::Boolean

true if the position is greater than or equal to parameter span.Start and strictly less than parameter span.End, otherwise false.

Return to top
Show: