TrackingTagSpan<T> Constructor (ITrackingSpan^, T)

 

Initializes a new instance of a TrackingTagSpan<T>.

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

public:
TrackingTagSpan(
	ITrackingSpan^ span,
	T tag
)

Parameters

span
Type: Microsoft.VisualStudio.Text::ITrackingSpan^

The tracking span with which to associate the tag.

tag
Type: T

The tag associated with the span.

Exception Condition
ArgumentNullException

span or tag is null.

Return to top
Show: