TagSpan<T> TagSpan<T> TagSpan<T> TagSpan<T> Class

Definition

The implementation of ITagSpan<T>.

generic <typename T>
 where T : ITagpublic ref class TagSpan : Microsoft::VisualStudio::Text::Tagging::ITagSpan<T>
public class TagSpan<T> : Microsoft.VisualStudio.Text.Tagging.ITagSpan<T> where T : ITag
type TagSpan<'T (requires 'T :> ITag)> = class
    interface ITagSpan<'T (requires 'T :> ITag)>
Public Class TagSpan(Of T)
Implements ITagSpan(Of T)
Type Parameters
T

The type, which must be a subclass of ITag.

Inheritance
TagSpan<T>TagSpan<T>TagSpan<T>TagSpan<T>
Implements

Constructors

TagSpan<T>(SnapshotSpan, T) TagSpan<T>(SnapshotSpan, T) TagSpan<T>(SnapshotSpan, T) TagSpan<T>(SnapshotSpan, T)

Initializes a new instance of a TagSpan<T> with the specified snapshot span and tag.

Properties

Span Span Span Span

Gets the snapshot span for this tag.

Tag Tag Tag Tag

Gets the tag located in this span.

Extension Methods

FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)
IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

Applies to