IMappingTagSpan<T> Interface
Associates an ITag with a specified IMappingSpan.
Namespace: Microsoft.VisualStudio.Text.Tagging
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
声明
Public Interface IMappingTagSpan(Of Out T As ITag)
public interface IMappingTagSpan<out T>
where T : ITag
generic<typename T>
where T : ITag
public interface class IMappingTagSpan
type IMappingTagSpan<'T when 'T : ITag> = interface end
JScript does not support generic types or methods.
Type Parameters
out T
The type, which must be a subtype of ITag.This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
The IMappingTagSpan<T> type exposes the following members.
Properties
Name | Description | |
---|---|---|
Span | Gets the mapping span for this tag. | |
Tag | Gets the tag located in this span. |
Top
Remarks
Use MappingTagSpan<T> as the implementation of this interface.