UIAutomationPropertyInfo structure (uiautomationcore.h)

Contains information about a custom property.

Syntax

struct UIAutomationPropertyInfo {
  GUID             guid;
  LPCWSTR          pProgrammaticName;
  UIAutomationType type;
};

Members

guid

Type: GUID

The unique identifier of the property.

pProgrammaticName

Type: LPCWSTR

The programmatic name of the property (a non-localizable string).

type

Type: UIAutomationType

A value from the UIAutomationType enumerated type indicating the data type of the property value.

Remarks

A custom property must have one of the following data types specified by the UIAutomationType enumeration. No other data types are supported for custom properties. For more information, see Custom Properties, Events, and Control Patterns.

Requirements

Requirement Value
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 | UWP apps]
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 | UWP apps]
Header uiautomationcore.h (include UIAutomation.h)

See also

Custom Properties, Events, and Control Patterns

RegisterProperty