NormalizedSnapshotSpanCollection::Contains Method (SnapshotSpan)

 

Determines whether the collection contains the specified snapshot span.

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

public:
virtual bool Contains(
	SnapshotSpan item
) sealed

Parameters

item
Type: Microsoft.VisualStudio.Text::SnapshotSpan

The snapshot span.

Return Value

Type: System::Boolean

true if the collection contains the snapshot span, otherwise false.

Return to top
Show: