DataCacheTag.Equals Method (Object)

 

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

Namespace:   Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Core (in Microsoft.ApplicationServer.Caching.Core.dll)

Syntax

public override bool Equals(
    object obj
)
public:
virtual bool Equals(
    Object^ obj
) override
override Equals : 
        obj:Object -> bool
Public Overrides Function Equals (
    obj As Object
) As Boolean

Parameters

  • obj
    Type: System.Object

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

Return Value

Type: System.Boolean

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.

See Also

DataCacheTag Class
Microsoft.ApplicationServer.Caching Namespace

Return to top