Share via


ITrackingPoint.GetPoint(ITextSnapshot) Method

Definition

Maps the tracking point to a particular snapshot of its ITextBuffer.

public:
 Microsoft::VisualStudio::Text::SnapshotPoint GetPoint(Microsoft::VisualStudio::Text::ITextSnapshot ^ snapshot);
public Microsoft.VisualStudio.Text.SnapshotPoint GetPoint (Microsoft.VisualStudio.Text.ITextSnapshot snapshot);
abstract member GetPoint : Microsoft.VisualStudio.Text.ITextSnapshot -> Microsoft.VisualStudio.Text.SnapshotPoint
Public Function GetPoint (snapshot As ITextSnapshot) As SnapshotPoint

Parameters

snapshot
ITextSnapshot

The snapshot to which to map the tracking point.

Returns

Exceptions

snapshot is null.

snapshot is not a snapshot of ITextBuffer.

Applies to