Retrieves the current number of items in the collection.
Syntax
HRESULT get_length( long *p );
Parameters
- p
- Address of a long variable that returns the number of items in the collection.
Return Value
Returns S_OK if successful, or an error code otherwise.