Dela via


AutomationPeer.ProviderFromPeer(AutomationPeer) Method

Definition

Gets the IRawElementProviderSimple proxy for the specified AutomationPeer.

protected:
 virtual IRawElementProviderSimple ^ ProviderFromPeer(AutomationPeer ^ peer) = ProviderFromPeer;
IRawElementProviderSimple ProviderFromPeer(AutomationPeer const& peer);
protected IRawElementProviderSimple ProviderFromPeer(AutomationPeer peer);
function providerFromPeer(peer)
Protected Function ProviderFromPeer (peer As AutomationPeer) As IRawElementProviderSimple

Parameters

peer
AutomationPeer

The automation peer.

Returns

The proxy.

Applies to