Implements an object that represents an ITag and its associated IText
- Type Parameters:
-
T
-The type of tag associated with this range.
- Inheritance:
- object object
Constructors
TagVersionRange(ITextVersionRange, T)
Initializes a new instance of the TagVersionRange
class.
Parameter | Type | Description |
---|---|---|
versionRange | IText |
The IText |
tag | T | The ITag data object associated with this range. |
TagVersionRange(TextSnapshotRange, TextRangeTrackingModes, T)
Initializes a new instance of the TagVersionRange
class.
Parameter | Type | Description |
---|---|---|
snapshotRange | Text |
The Text |
trackingModes | Text |
A Text |
tag | T | The ITag data object associated with this range. |
Properties
Tag
Gets the ITag data object associated with this range.
Property Value
- T:
The ITag data object associated with this range.
VersionRange
Gets the IText
Property Value
- IText
Version :Range The IText
Version over which the Tag applies.Range
Methods
Equals(object)
Parameter | Type | Description |
---|---|---|
obj | object |
Returns
Exceptions
Type | Condition |
---|---|
Null |
The |
GetHashCode()
Serves as a hash function for a particular type.