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

适用于