Freigeben über


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

'Declaration
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

  • tag
    Type: T
    The tag associated with the span.

Exceptions

Exception Condition
ArgumentNullException

span or tag is null.

.NET Framework Security

See Also

Reference

MappingTagSpan<T> Class

Microsoft.VisualStudio.Text.Tagging Namespace