IUIAutomationElement::CachedItemType Property
Retrieves a cached string describing the type of item represented by UI element.
Syntax
HRESULT IUIAutomationElement::get_CachedItemType(BSTR *retVal);
Parameters
- retVal
The address of a variable that receives the value of the cached property.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
This property is used to obtain information about items in a list, tree view, or data grid. For example, an item in a file directory view might be a "Document File" or a "Folder".
See Also
UIA_ItemTypePropertyId, IUIAutomationElement, IUIAutomationElement::CurrentItemType