Share via


NormalizedSnapshotSpanCollection.IndexOf Method (Object)

Gets the index of the specified snapshot span.

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

Syntax

'Declaration
Public Function IndexOf ( _
    value As Object _
) As Integer
public int IndexOf(
    Object value
)
public:
virtual int IndexOf(
    Object^ value
) sealed
abstract IndexOf : 
        value:Object -> int  
override IndexOf : 
        value:Object -> int
public final function IndexOf(
    value : Object
) : int

Parameters

Return Value

Type: System.Int32
The location of the snapshot span.

Implements

IList.IndexOf(Object)

.NET Framework Security

See Also

Reference

NormalizedSnapshotSpanCollection Class

IndexOf Overload

Microsoft.VisualStudio.Text Namespace