LockCookie.Equals Méthode

Définition

Détermine si l'instance en cours est égale à un objet spécifié.

Surcharges

Equals(Object)

Indique si un objet spécifié est un LockCookie et est égal à l'instance actuelle.

Equals(LockCookie)

Détermine si l'instance actuelle est égale à l'objet LockCookie spécifié.

Equals(Object)

Indique si un objet spécifié est un LockCookie et est égal à l'instance actuelle.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object? obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Paramètres

obj
Object

Objet à comparer avec l'instance actuelle.

Retours

Boolean

true si la valeur de obj est égale à la valeur de l'instance actuelle ; sinon, false.

S’applique à

Equals(LockCookie)

Détermine si l'instance actuelle est égale à l'objet LockCookie spécifié.

public:
 bool Equals(System::Threading::LockCookie obj);
public:
 virtual bool Equals(System::Threading::LockCookie obj);
public bool Equals (System.Threading.LockCookie obj);
override this.Equals : System.Threading.LockCookie -> bool
Public Function Equals (obj As LockCookie) As Boolean

Paramètres

obj
LockCookie

LockCookie à comparer à l'instance en cours.

Retours

Boolean

true si obj est égal à la valeur de l'instance actuelle ; sinon, false.

Implémente

S’applique à