Expand Minimize

IUIAutomationElement::CurrentItemType property

Retrieves a description of the type of UI item represented by the element.

This property is read-only.

Syntax


HRESULT get_CurrentItemType(
  [out, retval]  BSTR *retVal
);

Property value

Type: BSTR*

A string that describes the UI item type.

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".

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista, Windows XP with SP3 and Platform Update for Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008, Windows Server 2003 with SP2 and Platform Update for Windows Server 2008 [desktop apps only]

Header

UIAutomationClient.h (include UIAutomation.h)

IDL

UIAutomationClient.idl

See also

Reference
Automation Element Property IDs
IUIAutomationElement
CachedItemType

 

 

Community Additions

ADD
Show:
© 2014 Microsoft