ITrackingSpan::GetSpan Method (ITextSnapshot^)
Visual Studio 2015
Maps 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 tracking span.
| Exception | Condition |
|---|---|
| ArgumentNullException | snapshot is null. |
| ArgumentException | snapshot is not a snapshot of TextBuffer. |
Show: