TagSnapshotRange<T> Class
Implements an object that represents an ITag and its associated TextSnapshotRange.
public class TagSnapshotRange<T>
where T : ITag
- Type Parameters:
-
T
-The type of tag associated with this range.
- Inheritance:
- Object Object
Constructors
TagSnapshotRange(TextSnapshotRange, T)
Initializes a new instance of the TagSnapshotRange
class.
public TagSnapshotRange(TextSnapshotRange snapshotRange, T tag)
Parameter | Type | Description |
---|---|---|
snapshotRange | TextSnapshotRange | The TextSnapshotRange over which the Tag applies. |
tag | T | The ITag data object associated with this range. |
Properties
SnapshotRange
Gets the TextSnapshotRange over which the Tag applies.
public TextSnapshotRange SnapshotRange { get; }
Property Value
- TextSnapshotRange:
The TextSnapshotRange over which the Tag applies.
Tag
Gets the ITag data object associated with this range.
Methods
Equals(Object)
public override bool Equals(object obj)
Parameter | Type | Description |
---|---|---|
obj | Object |
Returns
Exceptions
Type | Condition |
---|---|
System.NullReferenceException | The |
GetHashCode()
Serves as a hash function for a particular type.
ToString()
Converts the object to a String
.
Inherited Members
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetType()
- System.Object.MemberwiseClone()