Επεξεργασία

Κοινή χρήση μέσω


GCHandle.Equals Method

Definition

Overloads

Equals(Object)

Determines whether the specified GCHandle object is equal to the current GCHandle object.

Equals(GCHandle)

Indicates whether the current instance is equal to another instance of the same type.

Equals(Object)

Source:
GCHandle.cs
Source:
GCHandle.cs
Source:
GCHandle.cs

Determines whether the specified GCHandle object is equal to the current GCHandle object.

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

Parameters

o
Object

The GCHandle object to compare with the current GCHandle object.

Returns

true if the specified GCHandle object is equal to the current GCHandle object; otherwise, false.

Remarks

Two GCHandle objects are equal if they point to the same memory handle.

Applies to

Equals(GCHandle)

Source:
GCHandle.cs
Source:
GCHandle.cs
Source:
GCHandle.cs

Indicates whether the current instance is equal to another instance of the same type.

public:
 virtual bool Equals(System::Runtime::InteropServices::GCHandle other);
public bool Equals (System.Runtime.InteropServices.GCHandle other);
public readonly bool Equals (System.Runtime.InteropServices.GCHandle other);
override this.Equals : System.Runtime.InteropServices.GCHandle -> bool
Public Function Equals (other As GCHandle) As Boolean

Parameters

other
GCHandle

An instance to compare with this instance.

Returns

true if the current instance is equal to the other instance; otherwise, false.

Implements

Applies to