AutomationPeer.ProviderFromPeer(AutomationPeer) 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 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.