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