AutomationPeer.GetAutomationControlType 方法

定义

获取与UI 自动化对等关联的元素的控件类型。

public:
 System::Windows::Automation::Peers::AutomationControlType GetAutomationControlType();
public System.Windows.Automation.Peers.AutomationControlType GetAutomationControlType ();
member this.GetAutomationControlType : unit -> System.Windows.Automation.Peers.AutomationControlType
Public Function GetAutomationControlType () As AutomationControlType

返回

AutomationControlType

控件类型。

例外

目前正在对此方法进行公开调用。

适用于

另请参阅