編集

次の方法で共有


LockCookie.Equals Method

Definition

Indicates whether the current is equal to a specified object.

Overloads

Equals(Object)

Indicates whether a specified object is a LockCookie and is equal to the current instance.

Equals(LockCookie)

Indicates whether the current instance is equal to the specified LockCookie.

Equals(Object)

Source:
LockCookie.cs
Source:
LockCookie.cs
Source:
LockCookie.cs

Indicates whether a specified object is a LockCookie and is equal to the current instance.

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

Parameters

obj
Object

The object to compare to the current instance.

Returns

true if the value of obj is equal to the value of the current instance; otherwise, false.

Applies to

Equals(LockCookie)

Source:
LockCookie.cs
Source:
LockCookie.cs
Source:
LockCookie.cs

Indicates whether the current instance is equal to the specified LockCookie.

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

Parameters

obj
LockCookie

The LockCookie to compare to the current instance.

Returns

true if obj is equal to the value of the current instance; otherwise, false.

Implements

Applies to