Redigera

Dela via


XamlType.Equality(XamlType, XamlType) Operator

Definition

Determines whether two specified XamlType objects have the same value.

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

Parameters

xamlType1
XamlType

A XamlType or null.

xamlType2
XamlType

A XamlType or null.

Returns

true if the value of xamlType1 is the same as the value of xamlType2; otherwise, false.

Applies to