Class TagInformation
- Namespace
- ArcanaDevelopment.adTempus.Shared
- Assembly
- ArcanaDevelopment.adTempus.Shared.dll
Contains information about an object tag.
[DataContract]
public class TagInformation
- Inheritance
-
objectTagInformation
Constructors
TagInformation(string, int)
public TagInformation(string tagName, int useCount)
Parameters
| Name | Type | Description |
|---|---|---|
tagName |
string | |
useCount |
int |
Properties
Name
The tag name.
[DataMember]
public string Name { get; }
Property Value
- string
ObjectCount
The number of objects that use the tag.
[DataMember]
public int ObjectCount { get; set; }
Property Value
- int
Methods
CompareTo(TagInformation)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
public int CompareTo(TagInformation other)
Parameters
| Name | Type | Description |
|---|---|---|
other |
TagInformation | An object to compare with this instance. |
Returns
- int
A value that indicates the relative order of the objects being compared. The return value has these meanings:
ValueMeaning
Less than zero
This instance precedes
otherin the sort order.Zero
This instance occurs in the same position in the sort order as
other.Greater than zero
This instance follows
otherin the sort order.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.