Partilhar via


AutomationPeer.ProviderFromPeer(AutomationPeer) Método

Definição

Obtém o IRawElementProviderSimple para o AutomationPeer especificado.

protected public:
 System::Windows::Automation::Provider::IRawElementProviderSimple ^ ProviderFromPeer(System::Windows::Automation::Peers::AutomationPeer ^ peer);
protected internal System.Windows.Automation.Provider.IRawElementProviderSimple ProviderFromPeer (System.Windows.Automation.Peers.AutomationPeer peer);
member this.ProviderFromPeer : System.Windows.Automation.Peers.AutomationPeer -> System.Windows.Automation.Provider.IRawElementProviderSimple
Protected Friend Function ProviderFromPeer (peer As AutomationPeer) As IRawElementProviderSimple

Parâmetros

peer
AutomationPeer

O par de automação.

Retornos

IRawElementProviderSimple

O proxy.

Aplica-se a

Confira também