StringSegmentComparer.GetHashCode(StringSegment) Metoda

Definice

Vrátí kód hash objektu StringSegment .

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

Parametry

obj
StringSegment

Získání StringSegment kódu hash pro.

Návraty

Kód hash pro StringSegment, vhodný pro použití v algoritmech hash a datových strukturách, jako je hashovací tabulka.

Implementuje

Platí pro