SnapshotPoint Implicit Conversion (SnapshotPoint to Int32)
Implicitly converts the snapshot point to an integer equal to the position of the snapshot point in the snapshot.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'宣告
Public Shared Widening Operator CType ( _
snapshotPoint As SnapshotPoint _
) As Integer
public static implicit operator int (
SnapshotPoint snapshotPoint
)
static implicit operator int (
SnapshotPoint snapshotPoint
)
F# does not support the declaration of new casting operators.
JScript does not support the declaration of new casting operators.
Parameters
- snapshotPoint
Type: Microsoft.VisualStudio.Text.SnapshotPoint
The snapshot point.
Return Value
Type: System.Int32
The integer equal to the position of the snapshot point in the snapshot.
.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.