Compartir a través de


TrackingTagSpan<T> Constructor

Initializes a new instance of a TrackingTagSpan<T>.

Namespace:  Microsoft.VisualStudio.Text.Tagging
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'Declaración
Public Sub New ( _
    span As ITrackingSpan, _
    tag As T _
)
public TrackingTagSpan(
    ITrackingSpan span,
    T tag
)
public:
TrackingTagSpan(
    ITrackingSpan^ span, 
    T tag
)
new : 
        span:ITrackingSpan * 
        tag:'T -> TrackingTagSpan
public function TrackingTagSpan(
    span : ITrackingSpan, 
    tag : T
)

Parameters

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

Exceptions

Exception Condition
ArgumentNullException

span or tag is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

TrackingTagSpan<T> Class

Microsoft.VisualStudio.Text.Tagging Namespace