ITagSpan<T> Interface
Associates an ITag with a given SnapshotSpan.
Namespace: Microsoft.VisualStudio.Text.Tagging
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
‘선언
Public Interface ITagSpan(Of Out T As ITag)
public interface ITagSpan<out T>
where T : ITag
generic<typename T>
where T : ITag
public interface class ITagSpan
type ITagSpan<'T when 'T : ITag> = interface end
JScript does not support generic types or methods.
Type Parameters
outT
The type, which must be a subclass 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 ITagSpan<T> type exposes the following members.
Properties
Name | Description | |
---|---|---|
Span | Gets the snapshot span for this tag. | |
Tag | Gets the tag located in this span. |
Top
Remarks
Use TagSpan<T> as the implementation of this interface.