System.Generics.Defaults.TOrdinalIStringComparer.GetHashCode
Delphi
function GetHashCode(const Value: string): Integer;
C++
virtual int __fastcall GetHashCode(const System::UnicodeString Value)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Generics.Defaults.pas System.Generics.Defaults.hpp |
System.Generics.Defaults | TOrdinalIStringComparer |
Description
Returns a hash code for the specified string.
- Note: Two case-insensitively equal strings have the same hash code, while two different strings may or may not have different hash codes.