Okapi .NET Library

IRoutines.MakeID Method 

 [This is preliminary documentation and subject to change.]

Generates a string ID from the hash code of the specified string.

[Visual Basic]
Function MakeID( _ 
   ByVal p_sText As String _ 
) As String
[C#]
string MakeID(
   string p_sText
);
[C++]
String* MakeID(
   String* p_sText
);
[JScript]
function MakeID(
   String p_sText
): String;

Parameters

p_sText
String for which the ID should be generated.

Return Value

The ID is a string made of the hexadecimal value of the hash code value for the specified string and a prefix 'P' or 'N' depending whether the hash code is positive or negative.

See Also

IRoutines Interface | Okapi.Library.Base Namespace