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
- pair1
Type: Microsoft.Windows.Design.PropertyEditing.KeyAttributePair<T>
The first KeyAttributePair<T> to compare.
- pair2
Type: Microsoft.Windows.Design.PropertyEditing.KeyAttributePair<T>
The second KeyAttributePair<T> to compare.
Return Value
Type: System.Boolean
true if first is equal to second; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.PropertyEditing Namespace