Share via


DataCacheTag.Equals Method (Object)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Compares the current DataCacheTag object for equality with the specified DataCacheTag object.

Namespace: Microsoft.Data.Caching
Assembly: CacheBaseLibrary (in cachebaselibrary.dll)

Syntax

'Declaration
Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
'Usage
Dim instance As DataCacheTag
Dim obj As Object
Dim returnValue As Boolean

returnValue = instance.Equals(obj)
public override bool Equals (
    Object obj
)
public:
virtual bool Equals (
    Object^ obj
) override
public boolean Equals (
    Object obj
)
public override function Equals (
    obj : Object
) : boolean

Parameters

  • obj
    The object whose string representation is compared for equality to the current DataCacheTag object.

Return Value

True if the object implements the ToString method and its value is the same as the string representation of the current DataCacheTag; otherwise, false.

Remarks

You can associate one or more tags to each cache object. Tag-based object retrieval is only available for those objects stored in regions. For more information about methods for using tags, see Tag-Based Methods (Velocity).

See Also

Reference

DataCacheTag Class
DataCacheTag Members
Microsoft.Data.Caching Namespace