共用方式為


XamlType.Equality(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 ( = ) : System.Xaml.XamlType * System.Xaml.XamlType -> bool
Public Shared Operator == (xamlType1 As XamlType, xamlType2 As XamlType) As Boolean

參數

xamlType1
XamlType

XamlTypenull

xamlType2
XamlType

XamlTypenull

傳回

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

適用於