GetCollectionItemLength method


Syntax

Invoke GetCollectionItemLength, hHandle, lItem

Function

Gets the length of an item (string) from a collection.

Parameters

hHandle

Handle to the collection.

lItem

The zero-based index of the item whose length is to be retreived.

Return value

Eax returns the length of the string, in characters, excluding the terminating null character.

REMARKS: If lItem does not specify a valid item, the return value is -1