Share via


IViewAutomationPeer.GetChildren(List<AutomationPeer>) メソッド

定義

指定したUI オートメーション ピアの直接の子要素のコレクションを取得します。

public:
 System::Collections::Generic::List<System::Windows::Automation::Peers::AutomationPeer ^> ^ GetChildren(System::Collections::Generic::List<System::Windows::Automation::Peers::AutomationPeer ^> ^ children);
public System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer> GetChildren (System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer> children);
abstract member GetChildren : System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer> -> System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer>
Public Function GetChildren (children As List(Of AutomationPeer)) As List(Of AutomationPeer)

パラメーター

children
List<AutomationPeer>

リスト項目のオートメーション ピア。

戻り値

コントロール内のすべての項目のオートメーション ピア。 リスト項目に加え、ビューに対話形式の要素または情報提供要素が含まれる場合、これらの要素のオートメーション ピアをリストに追加する必要があります。

適用対象

こちらもご覧ください