ValidationResult.Equals Method (Object)


Compares the specified instance and the current instance of ValidationResult for value equality.

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

public override bool Equals(
	object obj


Type: System.Object

The ValidationResult instance to compare.

Return Value

Type: System.Boolean

true if obj and this instance of ValidationResult.have the same values.

This method is called by the operator overrides.

.NET Framework
Available since 3.0
Return to top