This documentation is archived and is not being maintained.

AutomationElement.AutomationElementInformation.ItemType Property

Gets a description of the type of an item.

Namespace:  System.Windows.Automation
Assembly:  UIAutomationClient (in UIAutomationClient.dll)

'Declaration
Public ReadOnly Property ItemType As String
'Usage
Dim instance As AutomationElement..::.AutomationElementInformation 
Dim value As String 

value = instance.ItemType

Property Value

Type: System.String
A localized string that describes the item.

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

For more information, see ItemTypeProperty.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: