ITrackingSpan::GetEndPoint Method (ITextSnapshot^)
Visual Studio 2015
Maps the end of the tracking span to the specified snapshot of its text buffer.
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 end point.
Return Value
Type: Microsoft.VisualStudio.Text::SnapshotPointA SnapshotPoint of the specified snapshot.
| Exception | Condition |
|---|---|
| ArgumentNullException | snapshot is null. |
| ArgumentException | snapshot is not a snapshot of TextBuffer. |
Show: