共用方式為


GCHandle.Inequality(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 op_Inequality : 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的對等方法是 。

適用於