語言

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

XamlType 或 null。

xamlType2
XamlType

XamlType 或 null。

傳回

true 若 的 xamlType1 值與 的 xamlType2值不同;否則, false。

適用於