LookupBindingPropertiesAttribute.Equals Method (Object)


Determines whether the specified Object is equal to the current LookupBindingPropertiesAttribute instance.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public override bool Equals(
	object obj


Type: System.Object

The Object to compare with the current LookupBindingPropertiesAttribute instance

Return Value

Type: System.Boolean

true if the object is equal to the current instance; otherwise, false, indicating they are not equal.

The Equals method returns true if the obj parameter is of type LookupBindingPropertiesAttribute and all the public properties—DataSource, DisplayMember, ValueMember, and LookupMember—are equal to each other.

.NET Framework
Available since 2.0
Available since 4.0
Return to top