共用方式為


XamlType.Inequality(XamlType, XamlType) 運算子

定義

判斷兩個指定的 XamlType 物件是否具有不同的值。

public:
 static bool operator !=(System::Xaml::XamlType ^ xamlType1, System::Xaml::XamlType ^ xamlType2);
public static bool operator != (System.Xaml.XamlType xamlType1, System.Xaml.XamlType xamlType2);
static member op_Inequality : System.Xaml.XamlType * System.Xaml.XamlType -> bool
Public Shared Operator != (xamlType1 As XamlType, xamlType2 As XamlType) As Boolean

參數

xamlType1
XamlType

XamlTypenull

xamlType2
XamlType

XamlTypenull

傳回

Boolean

如果 true 的值與 xamlType1 的值不同,則為 xamlType2,否則為 false

適用於