共用方式為


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

Return Value

Type: System.Int32
The integer equal to the position of the snapshot point in the snapshot.

.NET Framework Security

See Also

Reference

SnapshotPoint Structure

Microsoft.VisualStudio.Text Namespace