Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Equality Operator
Collapse the table of content
Expand the table of content

ValidationResult.Equality Operator

Compares two ValidationResult objects for value equality.

Namespace:  System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public static bool operator ==(
	ValidationResult left,
	ValidationResult right
)

Parameters

left
Type: System.Windows.Controls.ValidationResult

The first instance to compare.

right
Type: System.Windows.Controls.ValidationResult

The second instance to compare.

Return Value

Type: System.Boolean
true if the two objects are equal; otherwise, false.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft