Redigera

Dela via


PersistenceModeAttribute.Equals(Object) Method

Definition

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.

Applies to