StringComparer.IEqualityComparer.GetHashCode(Object) Método
Definição
Retorna um código hash para o objeto especificado.Returns a hash code for the specified object.
virtual int System.Collections.IEqualityComparer.GetHashCode(System::Object ^ obj) = System::Collections::IEqualityComparer::GetHashCode;
int IEqualityComparer.GetHashCode (object obj);
abstract member System.Collections.IEqualityComparer.GetHashCode : obj -> int
override this.System.Collections.IEqualityComparer.GetHashCode : obj -> int
Function GetHashCode (obj As Object) As Integer Implements IEqualityComparer.GetHashCode
Parâmetros
- obj
- Object
O objeto do qual obter o código hash.The object from which to obtain the hash code.
Retornos
Um código hash para o objeto especificado.A hash code for the specified object.
Implementações
Comentários
Este membro é uma implementação do membro de interface explícita.This member is an explicit interface member implementation. Ele só pode ser usado quando a instância de StringComparer é convertida em uma interface de IEqualityComparer.It can be used only when the StringComparer instance is cast to an IEqualityComparer interface.