ITrackingPoint.GetPoint(ITextSnapshot) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.