ITrackingPoint::GetPosition Method (ITextSnapshot^)
Visual Studio 2015
Gets the position of the tracking point in the specified ITextSnapshot.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Parameters
- snapshot
-
Type:
Microsoft.VisualStudio.Text::ITextSnapshot^
The snapshot to which to map the position.
| Exception | Condition |
|---|---|
| ArgumentNullException | snapshot is null. |
| ArgumentException | snapshot is not a snapshot of TextBuffer. |
Show: