AutomationPeer.PeerFromProvider(IRawElementProviderSimple) 方法

定义

获取指定 IRawElementProviderSimple 代理的 AutomationPeer

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

参数

返回

AutomationPeer

适用于