PersistenceModeAttribute.Equals(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares the PersistenceModeAttribute object against another object.
public:
override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean
Parameters
- obj
- Object
The object to compare to.
Returns
true
if the objects are considered equal; otherwise, false
.
Remarks
The Equals method first compares the current object with the given object and returns true
if they are equal. Otherwise, if the given object is also a PersistenceModeAttribute object and is not null
, the Mode properties of each object are compared for equality and the result returned.