共用方式為


RibbonAutomationPeer.GetChildrenCore 方法

定義

取得與這個 Ribbon 相關聯之 RibbonAutomationPeer 的子項目集合。 這個方法是由 GetChildren() 所呼叫。

protected:
 override System::Collections::Generic::List<System::Windows::Automation::Peers::AutomationPeer ^> ^ GetChildrenCore();
protected override System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer> GetChildrenCore ();
override this.GetChildrenCore : unit -> System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer>
Protected Overrides Function GetChildrenCore () As List(Of AutomationPeer)

傳回

List<AutomationPeer>

與這個 Ribbon 相關聯之 RibbonAutomationPeer 的子項目。

備註

方法會 GetChildrenCore 傳回 物件的集合 AutomationPeer ,這些物件代表 ApplicationMenu 屬於 Ribbon 的 、 QuickAccessToolBarRibbonTab 物件。

適用於