共用方式為


XamlValueConverter<TConverterBase>.Equality 運算子

定義

判斷兩個指定的 XamlValueConverter<TConverterBase> 物件是否具有相同的值。

public:
 static bool operator ==(System::Xaml::Schema::XamlValueConverter<TConverterBase> ^ converter1, System::Xaml::Schema::XamlValueConverter<TConverterBase> ^ converter2);
public static bool operator == (System.Xaml.Schema.XamlValueConverter<TConverterBase> converter1, System.Xaml.Schema.XamlValueConverter<TConverterBase> converter2);
static member ( = ) : System.Xaml.Schema.XamlValueConverter<'ConverterBase (requires 'ConverterBase : null)> * System.Xaml.Schema.XamlValueConverter<'ConverterBase (requires 'ConverterBase : null)> -> bool
Public Shared Operator == (converter1 As XamlValueConverter(Of TConverterBase), converter2 As XamlValueConverter(Of TConverterBase)) As Boolean

參數

傳回

如果 true 的值與 converter1 的值相同,則為 converter2,否則為 false

適用於