Type.Inequality(Type, Type) Type.Inequality(Type, Type) Type.Inequality(Type, Type) Type.Inequality(Type, Type) Operator

定義

表示兩個 Type 物件是否不相等。Indicates whether two Type objects are not equal.

public:
 static bool operator !=(Type ^ left, Type ^ right);
public static bool operator != (Type left, Type right);
static member op_Inequality : Type * Type -> bool
Public Shared Operator != (left As Type, right As Type) As Boolean

參數

left
Type Type Type Type

要比較的第一個物件。The first object to compare.

right
Type Type Type Type

要比較的第二個物件。The second object to compare.

傳回

如果 true 不等於 left,則為 right,否則為 falsetrue if left is not equal to right; otherwise, false.

適用於