Freigeben über


SnapshotPoint Implicit-Konvertierung (SnapshotPoint to Int32)

Konvertiert den Momentaufnahmepunkt implizit in eine ganze Zahl, die mit der Position des Momentaufnahmepunkts in der Momentaufnahme identisch ist.

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

Syntax

'Declaration
Public Shared Widening Operator CType ( _
    snapshotPoint As SnapshotPoint _
) As Integer
public static implicit operator int (
    SnapshotPoint snapshotPoint
)
static implicit operator int (
    SnapshotPoint snapshotPoint
)
F# unterstützt nicht die Deklaration von neuen Typumwandlungsoperatoren.
JScript unterstützt nicht die Deklaration von neuen Typumwandlungsoperatoren.

Parameter

Rückgabewert

Typ: Int32
Die ganze Zahl, die der Position des Momentaufnahmepunkts in der Momentaufnahme entspricht.

.NET Framework-Sicherheit

Siehe auch

Referenz

SnapshotPoint Struktur

Microsoft.VisualStudio.Text-Namespace