Partager via


SnapshotPoint.Implicit(SnapshotPoint to Int32) Operator

Definition

Implicitly converts the snapshot point to an integer equal to the position of the snapshot point in the snapshot.

public:
 static operator int(Microsoft::VisualStudio::Text::SnapshotPoint snapshotPoint);
public static implicit operator int (Microsoft.VisualStudio.Text.SnapshotPoint snapshotPoint);
static member op_Implicit : Microsoft.VisualStudio.Text.SnapshotPoint -> int
Public Shared Widening Operator CType (snapshotPoint As SnapshotPoint) As Integer

Parameters

snapshotPoint
SnapshotPoint

The snapshot point.

Returns

The integer equal to the position of the snapshot point in the snapshot.

Applies to