GCHandle.Equals(Object) Method

Definition

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);
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