ValidationResult.Equality Operator (ValidationResult, ValidationResult)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Available since 3.0
Return to top
Show: