TaggedTrackingTextRange<T> Struct

Definition

A TrackingTextRange with an associated tag.

public struct TaggedTrackingTextRange<T> : IEquatable<Microsoft.VisualStudio.Extensibility.Editor.TaggedTrackingTextRange<T>> where T : ITag
type TaggedTrackingTextRange<'T (requires 'T :> ITag)> = struct
Public Structure TaggedTrackingTextRange(Of T)
Implements IEquatable(Of TaggedTrackingTextRange(Of T))

Type Parameters

T

The type of the tag.

Inheritance
TaggedTrackingTextRange<T>
Implements

Constructors

TaggedTrackingTextRange<T>(ITextDocumentSnapshot, Int32, Int32, TextRangeTrackingMode, T)

Initializes a new instance of the TaggedTrackingTextRange<T> struct with the specified start point, length, tracking mode and tag.

TaggedTrackingTextRange<T>(TextPosition, Int32, TextRangeTrackingMode, T)

Initializes a new instance of the TaggedTrackingTextRange<T> struct with the specified start point, length, tracking mode and tag.

TaggedTrackingTextRange<T>(TextPosition, TextPosition, TextRangeTrackingMode, T)

Initializes a new instance of the TaggedTrackingTextRange<T> struct with the specified start point, end point, tracking mode and tag.

TaggedTrackingTextRange<T>(TextRange, TextRangeTrackingMode, T)

Initializes a new instance of the TaggedTrackingTextRange<T> struct with the specified range, tracking mode and tag.

TaggedTrackingTextRange<T>(TrackingTextRange, T)

Initializes a new instance of the TaggedTrackingTextRange<T> struct with the specified tracking range and tag.

Properties

End

Gets the starting index of the snapshot range.

Length

Gets the starting index of the snapshot range.

Range

Gets the tracking range.

Start

Gets the starting index of the snapshot range.

Tag

Gets the tag.

TrackingMode

Gets the tracking mode.

Methods

Equals(Object)
Equals(TaggedTrackingTextRange<T>)
GetHashCode()
ToString()
TranslateTo(ITextDocumentSnapshot)

Translates this TrackingTextRange to an older or newer ITextDocumentSnapshot version.

Operators

Equality(TaggedTrackingTextRange<T>, TaggedTrackingTextRange<T>)
Inequality(TaggedTrackingTextRange<T>, TaggedTrackingTextRange<T>)

Applies to