PropertyTag
Leave feedback
On this page
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.ms.System.IEquatable
public final class PropertyTag implements System.IEquatable<PropertyTag>
Represents a tag used to mark metadata properties.
| Method | Description |
|---|---|
| getCategory() | Gets the tag category. |
| equals(PropertyTag other) | Indicates whether the current object is equal to another object of the same type. |
| equals(Object obj) | Determines whether the specified object is equal to the current object. |
| hashCode() | Serves as the default hash function. |
| op_Equality(PropertyTag left, PropertyTag right) | Indicates whether two objects of the same type are equal. |
| op_Inequality(PropertyTag left, PropertyTag right) | Indicates whether two objects of the same type are not equal. |
| toString() | Returns a string that represents the current object. |
public final TagCategory getCategory()
Gets the tag category.
Returns: TagCategory - The tag category.
public final boolean equals(PropertyTag other)
Indicates whether the current object is equal to another object of the same type.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| other | PropertyTag | An object to compare with this object. |
Returns: boolean - True if the current object is equal to the other parameter; otherwise, false.
public boolean equals(Object obj)
Determines whether the specified object is equal to the current object.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| obj | java.lang.Object | The object to compare with the current object. |
Returns: boolean - True if the specified object is equal to the current object; otherwise, false.
public int hashCode()
Serves as the default hash function.
Returns: int - A hash code for the current object.
public static boolean op_Equality(PropertyTag left, PropertyTag right)
Indicates whether two objects of the same type are equal.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| left | PropertyTag | The left object. |
| right | PropertyTag | The rigt object. |
Returns: boolean - True if the objects are equal; otherwise, false.
public static boolean op_Inequality(PropertyTag left, PropertyTag right)
Indicates whether two objects of the same type are not equal.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| left | PropertyTag | The left object. |
| right | PropertyTag | The rigt object. |
Returns: boolean - True if the objects are not equal; otherwise, false.
public String toString()
Returns a string that represents the current object.
Returns: java.lang.String - A string that represents the current object.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.