IViewAutomationPeer.GetAutomationControlType 方法

定义

获取与此 IViewAutomationPeer 关联的元素的控件类型。

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

返回

AutomationControlType

AutomationControlType 枚举中的一个值。

适用于

另请参阅