GetItemType Method
Collapse the table of content
Expand the table of content

AutomationPeer.GetItemType Method ()


Gets a string that describes what kind of item an object represents.

Namespace:   System.Windows.Automation.Peers
Assembly:  PresentationCore (in PresentationCore.dll)

public string GetItemType()

Return Value

Type: System.String

The kind of item.

Examples of the returned string are "Mail Message", "Contact", and "Document".

.NET Framework
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
© 2015 Microsoft