Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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: System.Int32
The index 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.