Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Used to determine whether another object is the same.
Namespace: System.Data.Caching
Assembly: CacheBaseLibrary (in cachebaselibrary.dll)
Syntax
'Declaration
Public Overrides Function Equals ( _
obj As Object _
) As Boolean
'Usage
Dim instance As CacheItemVersion
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
Another object for comparison.
Return Value
A Boolean value: true, if the objects are the same; false, if they are different.
Remarks
The CacheItemVersion is updated every time that the object is updated. Only the latest version of the object is stored on the cache cluster. Due to the distributed nature of the cluster, the cache client may not have the latest copy of the object. For this reason, the CacheItemVersion class is essential for concurrency operations. For more information, see Concurrency Models (Velocity) and Concurrency Methods (Velocity).
See Also
Reference
CacheItemVersion Class
CacheItemVersion Members
System.Data.Caching Namespace