IUIAutomationElementArray::Length Property

Retrieves the number of elements in the collection.

Syntax

HRESULT IUIAutomationElementArray::get_Length(int *length);

Parameters

  • length
    The address of a variable that receives the number of elements in the collection.

Return Value

Returns S_OK if successful, or an error value otherwise.