AutomationPeer.GetControlledPeers 方法

定義

提供使用者介面自動化受此 AutomationPeer 影響或控制的項目清單。

public:
 System::Collections::Generic::List<System::Windows::Automation::Peers::AutomationPeer ^> ^ GetControlledPeers();
public System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer> GetControlledPeers ();
member this.GetControlledPeers : unit -> System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer>
Public Function GetControlledPeers () As List(Of AutomationPeer)

傳回

受控項目的自動化對等清單。

例外狀況

目前正在公開呼叫此方法。

適用於