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)

public:
static operator int (
	SnapshotPoint snapshotPoint
)

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.

Return to top
Show: