共用方式為


KeyAttributePair<T>.Equality 運算子

判斷指定的 KeyAttributePair<T> 執行個體是否視為相等。

命名空間:  Microsoft.Windows.Design.PropertyEditing
組件:  Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)

語法

'宣告
Public Shared Operator = ( _
    pair1 As KeyAttributePair(Of T), _
    pair2 As KeyAttributePair(Of T) _
) As Boolean
public static bool operator ==(
    KeyAttributePair<T> pair1,
    KeyAttributePair<T> pair2
)
public:
static bool operator ==(
    KeyAttributePair<T> pair1, 
    KeyAttributePair<T> pair2
)
static let inline (=)
        pair1:KeyAttributePair<'T> * 
        pair2:KeyAttributePair<'T>  : bool
JScript 不支援多載運算子。

參數

傳回值

型別:System.Boolean
如果 first 等於 second,則為 true,否則為 false。

.NET Framework 安全性

請參閱

參考

KeyAttributePair<T> 結構

Microsoft.Windows.Design.PropertyEditing 命名空間

其他資源

屬性編輯架構

WPF 設計工具擴充性