共用方式為


GCHandle.Equality(GCHandle, GCHandle) 運算子

定義

傳回值,這個值表示兩個 GCHandle 物件是否相等。

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

參數

a
GCHandle

GCHandle 物件,要與 b 參數比較。

b
GCHandle

GCHandle 物件,要與 a 參數比較。

傳回

如果 ab 參數相等,則為 true,否則為 false

備註

這個運算子 GCHandle.Equals的對等方法是 。

適用於