AutomationPeer.PeerFromProvider(IRawElementProviderSimple) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.