共用方式為


ButtonAutomationPeer.GetAutomationControlTypeCore 方法

定義

取得與消費者介面自動化對等相關聯之專案的控制項類型。

protected:
 override System::Windows::Automation::Peers::AutomationControlType GetAutomationControlTypeCore();
protected override System.Windows.Automation.Peers.AutomationControlType GetAutomationControlTypeCore ();
override this.GetAutomationControlTypeCore : unit -> System.Windows.Automation.Peers.AutomationControlType
Protected Overrides Function GetAutomationControlTypeCore () As AutomationControlType

傳回

AutomationControlType

Button 列舉值。

適用於