Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the index of the specified SnapshotSpan.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
Public Function IndexOf ( _
item As SnapshotSpan _
) As Integer
public int IndexOf(
SnapshotSpan item
)
public:
virtual int IndexOf(
SnapshotSpan item
) sealed
abstract IndexOf :
item:SnapshotSpan -> int
override IndexOf :
item:SnapshotSpan -> int
public final function IndexOf(
item : SnapshotSpan
) : int
Parameters
item
Type: Microsoft.VisualStudio.Text.SnapshotSpanThe SnapshotSpan.
Return Value
Type: Int32
The index of the snapshot span.
Implements
IList.IndexOf(UTP)
.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.