Class Tag
Represents an string based identifier that can be associated with the cache items so that they are logically grouped together and can be retrieved efficiently.
Inheritance
System.Object
Tag
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public class Tag
Remarks
One or more tags can be associated with each cache item.
Examples
To create an instance of Tag class you can use code as follows:
Tag tag = new Tag("Alpha");
Name | Description |
---|---|
Tag(String) | Initializes a new instance of Tag class. |
Name | Description |
---|---|
TagName | Gets the string based tag name. |
Name | Description |
---|---|
Equals(Object) | It compares object with the tag and return true if is equal otherwise it will return false |
GetHashCode() | GetHashCode for the Tag |
ToString() | String representation of the tag class. |