SnapshotSpan::Contains Method (SnapshotSpan)

 

Determines whether the snapshot span falls completely within this span.

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

public:
bool Contains(
	SnapshotSpan snapshotSpan
)

Parameters

snapshotSpan
Type: Microsoft.VisualStudio.Text::SnapshotSpan

The SnapshotSpan to check.

Return Value

Type: System::Boolean

true if the specified span falls completely within this span, otherwise false.

Return to top
Show: