MappingTagSpan<T> Constructor (IMappingSpan^, T)

 

Creates a mapping tag span.

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

public:
MappingTagSpan(
	IMappingSpan^ span,
	T tag
)

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.

Exception Condition
ArgumentNullException

span or tag is null.

Return to top
Show: