Share via


DataCacheTag.GetHashCode Method

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

Returns the hash code for the current DataCacheTag object.

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

Syntax

'Declaration
Public Overrides Function GetHashCode As Integer
'Usage
Dim instance As DataCacheTag
Dim returnValue As Integer

returnValue = instance.GetHashCode
public override int GetHashCode ()
public:
virtual int GetHashCode () override
public int GetHashCode ()
public override function GetHashCode () : int

Return Value

An integer representing the hash code for the current DataCacheTag object.

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