_KCML_HashClass->KCML_HashClass_SetKey

Definition

DEFSUB 'KCML_HashClass_SetKey(BYREF kthis$_KCML_HashClass), BYREF Key$()_KCML_SORT_REC_KEY)) AS Void

Parameters

kthis** not documented
Key** not documented

Description

A key may be used to define the order for sorted collections and to find items in the collection. The simplest and default key is a simple string. The SetKey method can be used to define a complex key using a string array of type KCML_SORT_REC_KEY, where each element of the array specifies a segment of the key. The key is into the data of the element, so the simpler form of Add is used where no separate key is specified.

See also

Internal KCML Functions, Internally defined structures and Internally defined enumerations and constants.