Bewerken

Delen via


GCHandle.Equality(GCHandle, GCHandle) Operator

Definition

Returns a value indicating whether two GCHandle objects are equal.

public:
 static bool operator ==(System::Runtime::InteropServices::GCHandle a, System::Runtime::InteropServices::GCHandle b);
public static bool operator == (System.Runtime.InteropServices.GCHandle a, System.Runtime.InteropServices.GCHandle b);
static member ( = ) : System.Runtime.InteropServices.GCHandle * System.Runtime.InteropServices.GCHandle -> bool
Public Shared Operator == (a As GCHandle, b As GCHandle) As Boolean

Parameters

a
GCHandle

A GCHandle object to compare with the b parameter.

b
GCHandle

A GCHandle object to compare with the a parameter.

Returns

true if the a and b parameters are equal; otherwise, false.

Remarks

The equivalent method for this operator is GCHandle.Equals.

Applies to