AutomationPeer.GetControlledPeersCore Method

Definition

在派生类中替代时,为 UI 自动化提供受此 AutomationPeer 影响或控制的元素列表。When overridden in a derived class, provides UI Automation with a list of elements affected or controlled by this AutomationPeer.

protected:
 virtual System::Collections::Generic::List<System::Windows::Automation::Peers::AutomationPeer ^> ^ GetControlledPeersCore();
protected virtual System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer> GetControlledPeersCore ();
abstract member GetControlledPeersCore : unit -> System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer>
override this.GetControlledPeersCore : unit -> System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer>
Protected Overridable Function GetControlledPeersCore () As List(Of AutomationPeer)

Returns

List<AutomationPeer>

可控元素的自动化对等列表。A list of automation peers for the controlled elements.

Applies to