Share via


KeyAttributePair<T>.Equality Operator

Determines whether the specified KeyAttributePair<T> instances are considered equal.

Namespace:  Microsoft.Windows.Design.PropertyEditing
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
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 does not support overloaded operators.

Parameters

Return Value

Type: System.Boolean
true if first is equal to second; otherwise, false.

.NET Framework Security

See Also

Reference

KeyAttributePair<T> Structure

Microsoft.Windows.Design.PropertyEditing Namespace

Other Resources

Property Editing Architecture

WPF Designer Extensibility