Share via


NormalizedSnapshotSpanCollection.Contains Method

Definition

Overloads

Contains(SnapshotSpan)

Determines whether the collection contains the specified snapshot span.

Contains(Object)

Determines whether the collection contains the specified snapshot span.

Contains(SnapshotSpan)

Determines whether the collection contains the specified snapshot span.

public:
 virtual bool Contains(Microsoft::VisualStudio::Text::SnapshotSpan item);
bool Contains(Microsoft::VisualStudio::Text::SnapshotSpan item);
public bool Contains (Microsoft.VisualStudio.Text.SnapshotSpan item);
abstract member Contains : Microsoft.VisualStudio.Text.SnapshotSpan -> bool
override this.Contains : Microsoft.VisualStudio.Text.SnapshotSpan -> bool
Public Function Contains (item As SnapshotSpan) As Boolean

Parameters

item
SnapshotSpan

The snapshot span.

Returns

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

Implements

Applies to

Contains(Object)

Determines whether the collection contains the specified snapshot span.

public:
 virtual bool Contains(System::Object ^ value);
public:
 bool Contains(Platform::Object ^ value);
bool Contains(winrt::Windows::Foundation::IInspectable const & value);
public bool Contains (object value);
abstract member Contains : obj -> bool
override this.Contains : obj -> bool
Public Function Contains (value As Object) As Boolean

Parameters

value
Object

The snapshot span.

Returns

true if the snapshot span is contained in the collection, otherwise false.

Implements

Applies to