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

返回

Boolean

如果 true 的值与 xamlType1 的值相同,则为 xamlType2;否则为 false

适用于