TagSpan<T> Constructor (SnapshotSpan, T)
Visual Studio 2015
Initializes a new instance of a TagSpan<T> with the specified snapshot span and tag.
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Parameters
- span
-
Type:
Microsoft.VisualStudio.Text::SnapshotSpan
The SnapshotSpan with which to associate the tag.
- tag
-
Type:
T
The tag associated with the span.
| Exception | Condition |
|---|---|
| ArgumentNullException | tag is null. |
Show: