WstHash.GetHash Method (String, Int32)

[This is internal Microsoft documentation - Do not distribute.]

Static method to get hash of a string key.

Namespace: Microsoft.Webstore.WstClient
Assembly: ICL (in icl.dll)

Syntax

'Declaration

  Public Shared Function GetHash ( _
    strKey As String, _
    maxHash As Integer _
) As Integer
  public static int GetHash (
    string strKey,
    int maxHash
)

Parameters

  • strKey
    string key
  • maxHash
    Max Hash

Return Value

0..maxHash-1

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also

Reference

WstHash Class
WstHash Members
Microsoft.Webstore.WstClient Namespace