语言

AutomationPeer.GetControlledPeers 方法

定义

为 UI 自动化提供受此 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)

返回

受控元素的自动化对等方列表。

例外

对此方法的公共调用目前正在进行中。

适用于