Share via


SnapshotPoint(ITextSnapshot, Int32) Constructor

Definition

Initializes a new instance of a SnapshotPoint with respect to a particular snapshot and position.

public:
 SnapshotPoint(Microsoft::VisualStudio::Text::ITextSnapshot ^ snapshot, int position);
public:
 SnapshotPoint(Microsoft::VisualStudio::Text::ITextSnapshot ^ snapshot, int position);
 SnapshotPoint(Microsoft::VisualStudio::Text::ITextSnapshot const & snapshot, int position);
public SnapshotPoint (Microsoft.VisualStudio.Text.ITextSnapshot snapshot, int position);
new Microsoft.VisualStudio.Text.SnapshotPoint : Microsoft.VisualStudio.Text.ITextSnapshot * int -> Microsoft.VisualStudio.Text.SnapshotPoint
Public Sub New (snapshot As ITextSnapshot, position As Integer)

Parameters

position
Int32

The position of the point.

Applies to