Freigeben über


NormalizedSnapshotSpanCollection.Contains Method (Object)

Determines whether the collection contains the specified snapshot span.

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

Syntax

'Declaration
Public Function Contains ( _
    value As Object _
) As Boolean
public bool Contains(
    Object value
)
public:
virtual bool Contains(
    Object^ value
) sealed
abstract Contains : 
        value:Object -> bool  
override Contains : 
        value:Object -> bool
public final function Contains(
    value : Object
) : boolean

Parameters

  • value
    Type: Object

    The snapshot span.

Return Value

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

Implements

IList.Contains(Object)

.NET Framework Security

See Also

Reference

NormalizedSnapshotSpanCollection Class

Contains Overload

Microsoft.VisualStudio.Text Namespace