Vector.GetHashCode Méthode

Définition

Retourne le code de hachage pour ce vecteur.

public:
 override int GetHashCode();
public override int GetHashCode();
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer

Retours

Code de hachage pour cette instance.

Exemples

L’exemple suivant montre comment obtenir le code de hachage d’un Vector.

private int getHashCodeExample()
{
    Vector vector1 = new Vector(20, 30);
    int returnHashCode = vector1.GetHashCode();

    return returnHashCode;
}

S’applique à