AutomationPeer.GetAutomationControlType Method

Definition

获取与此对等 UI 自动化UI Automation 关联的元素的控件类型。Gets the control type for the element that is associated with the UI 自动化UI Automation peer.

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

Returns

AutomationControlType

控件类型。The control type.

Exceptions

目前正在对此方法进行公开调用。A public call to this method is currently in progress.

Applies to

See also