ITagSpan<T> Interface

Definition

Associates an ITag with a given SnapshotSpan.

generic <typename T>
 where T : ITagpublic interface class ITagSpan
public interface ITagSpan<out T> where T : ITag
type ITagSpan<'T (requires 'T :> ITag)> = interface
Public Interface ITagSpan(Of Out T)

Type Parameters

T

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.
Derived

Remarks

Use TagSpan<T> as the implementation of this interface.

Properties

Span

Gets the snapshot span for this tag.

Tag

Gets the tag located in this span.

Applies to