AutomationPeer.PeerFromProvider(IRawElementProviderSimple) Method

Definition

Gets an AutomationPeer for the specified IRawElementProviderSimple proxy.

protected:
 virtual AutomationPeer ^ PeerFromProvider(IRawElementProviderSimple ^ provider) = PeerFromProvider;
AutomationPeer PeerFromProvider(IRawElementProviderSimple const& provider);
protected AutomationPeer PeerFromProvider(IRawElementProviderSimple provider);
function peerFromProvider(provider)
Protected Function PeerFromProvider (provider As IRawElementProviderSimple) As AutomationPeer

Parameters

provider
IRawElementProviderSimple

The class that implements IRawElementProviderSimple.

Returns

The AutomationPeer.

Applies to