GCHandle.Equality(GCHandle, GCHandle) Opérateur

Définition

Retourne une valeur indiquant si deux GCHandle objets sont égaux.

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

Paramètres

a
GCHandle

Objet GCHandle à comparer au b paramètre.

b
GCHandle

Objet GCHandle à comparer au a paramètre.

Retours

truesi les paramètres et b les a paramètres sont égaux ; sinon, false.

Remarques

La méthode équivalente pour cet opérateur est GCHandle.Equals.

S’applique à