共用方式為


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 列舉型別中的值。

適用於

另請參閱