Collation.GetHashCode Method (string)Collation.GetHashCode Method (String)Collation::GetHashCode Method (String^)

Gets a hash code for the specified stringStringString under this collation.

Syntax

Public MustOverride Function GetHashCode( _
    value As String _
) As Integer
public abstract int GetHashCode(
    string value
)
public:
virtual int GetHashCode(
    String^ value
) abstract
 

Return Value

Type: System.Int32System.Int32System::Int32

A intIntegerint hash code suitable for use in hashing algorithms and data structures such as a hash table.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullExceptionvalue is null a null reference (Nothing in Visual Basic) nullptr.