StringSegmentComparer.GetHashCode(StringSegment) 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.
Retourne un code de hachage pour un StringSegment objet.
public:
virtual int GetHashCode(Microsoft::Extensions::Primitives::StringSegment obj);
public int GetHashCode(Microsoft.Extensions.Primitives.StringSegment obj);
override this.GetHashCode : Microsoft.Extensions.Primitives.StringSegment -> int
Public Function GetHashCode (obj As StringSegment) As Integer
Paramètres
- obj
- StringSegment
Pour StringSegment obtenir un code de hachage.
Retours
Code de hachage pour un StringSegment, adapté à une utilisation dans les algorithmes de hachage et les structures de données comme une table de hachage.