LookupBindingPropertiesAttribute.Equals(Object) Method

Definition

Determina se o Object especificado é igual à instância de LookupBindingPropertiesAttribute atual.Determines whether the specified Object is equal to the current LookupBindingPropertiesAttribute instance.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

O Object a comparar com a instância de LookupBindingPropertiesAttribute atualThe Object to compare with the current LookupBindingPropertiesAttribute instance

Returns

Boolean

true se o objeto é igual à instância atual, caso contrário, false, indicando que não são iguais.true if the object is equal to the current instance; otherwise, false, indicating they are not equal.

Remarks

O método Equals retornará true se o parâmetro obj for do tipo LookupBindingPropertiesAttribute e todas as propriedades públicas-DataSource, DisplayMember, ValueMembere LookupMember-forem iguais.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.

Applies to

See also