SnapshotSpan::Contains Method (Int32)

 

Determines whether the position lies within the span.

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

public:
bool Contains(
	int position
)

Parameters

position
Type: System::Int32

The position to check.

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: