ControlType.GetRequiredProperties 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索此控件类型的必需属性标识符 (ID) 数组。
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()
返回
属性 ID 的数组。
注解
此方法适用于需要查找所有可能属性(例如提供程序实现的测试框架)的UI 自动化客户端。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈