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
value
Type: System.ObjectThe snapshot span.
Return Value
Type: System.Int32
The location of the snapshot span.
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.