StringSegmentComparer.GetHashCode(StringSegment) Méthode

Définition

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.

Implémente

S’applique à