Share via


DocumentAutomationPeer.GetChildrenCore 方法

定義

取得與這個 FrameworkContentElement 相關聯之 DocumentAutomationPeer 的子項目集合。 這個方法是由 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)

傳回

因為 DocumentAutomationPeer 透過 TextPattern 提供對其內容的存取,所以這個方法永遠會傳回 null

適用於

另請參閱