MappingTagSpan<T> Constructor
Creates a mapping tag span.
Namespace: Microsoft.VisualStudio.Text.Tagging
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Déclaration
Public Sub New ( _
span As IMappingSpan, _
tag As T _
)
public MappingTagSpan(
IMappingSpan span,
T tag
)
public:
MappingTagSpan(
IMappingSpan^ span,
T tag
)
new :
span:IMappingSpan *
tag:'T -> MappingTagSpan
public function MappingTagSpan(
span : IMappingSpan,
tag : T
)
Parameters
- span
Type: Microsoft.VisualStudio.Text.IMappingSpan
The mapping span with which to associate the tag.
- tag
Type: T
The tag associated with the span.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | span or tag is null. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.