Compartilhar via


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

'Declaração
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