TextElementAutomationPeer.GetChildrenCore 方法

定義

取得與這個 TextElement 相關聯之 TextElementAutomationPeer 的子項目集合。 由 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)

傳回

null.

備註

因為 DocumentAutomationPeer 會透過 TextPattern 提供其內容的存取權,所以這個方法一律會傳 null 回 。

適用於

另請參閱