LookupBindingPropertiesAttribute.Equals(Object) Método

Definição

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

Parâmetros

obj
Object

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

Retornos

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.

Comentários

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

Aplica-se a

Confira também