IUIAutomationElementArray::GetElement Method
Retrieves a Microsoft UI Automation from the collection.
Syntax
HRESULT GetElement( int index, IUIAutomationElement **element );
Parameters
- index
[in] The zero-based index of the element.- element
[out, retval] The address of a variable that receives a pointer to the IUIAutomationElement interface for the element.
Return Value
Returns S_OK if successful, or an error value otherwise.