Edit

Bagikan melalui


ControlType.GetRequiredProperties Method

Definition

Retrieves an array of the required property identifiers (IDs) for this control type.

public:
 cli::array <System::Windows::Automation::AutomationProperty ^> ^ GetRequiredProperties();
public System.Windows.Automation.AutomationProperty[] GetRequiredProperties ();
member this.GetRequiredProperties : unit -> System.Windows.Automation.AutomationProperty[]
Public Function GetRequiredProperties () As AutomationProperty()

Returns

An array of property IDs.

Remarks

This method is useful for UI Automation clients that need to find all possible properties, such as testing frameworks for a provider implementation.

Applies to