StringInfo.GetHashCode Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Calcule un code de hachage pour la valeur de l’objet actuel StringInfo .
public:
override int GetHashCode();
public override int GetHashCode();
[System.Runtime.InteropServices.ComVisible(false)]
public override int GetHashCode();
override this.GetHashCode : unit -> int
[<System.Runtime.InteropServices.ComVisible(false)>]
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer
Retours
Code de hachage entier signé 32 bits basé sur la valeur de chaîne de cet StringInfo objet.
- Attributs
Remarques
Le comportement de GetHashCode l’application dépend de son implémentation, qui peut passer d’une version du Common Language Runtime à une autre. Cela peut se produire pour améliorer les performances de GetHashCode. Pour rendre le comportement constant GetHashCode , l’application doit remplacer l’implémentation d’exécution d’une GetHashCode implémentation connue pour ne jamais changer.