HashCode.GetHashCode Método

Definição

Cuidado

HashCode is a mutable struct and should not be compared with other HashCodes. Use ToHashCode to retrieve the computed hash code.

Esse método não tem suporte e não deve ser chamado.

public:
 override int GetHashCode();
[System.Obsolete("HashCode is a mutable struct and should not be compared with other HashCodes. Use ToHashCode to retrieve the computed hash code.", true)]
public override int GetHashCode();
[<System.Obsolete("HashCode is a mutable struct and should not be compared with other HashCodes. Use ToHashCode to retrieve the computed hash code.", true)>]
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer

Retornos

Esse método sempre gerará um NotSupportedException.

Atributos

Exceções

Sempre gerado quando esse método é chamado.

Aplica-se a