AutomationPeer.PeerFromProvider(IRawElementProviderSimple) 方法

定义

获取指定的 AutomationPeer 代理的 IRawElementProviderSimple

protected:
 System::Windows::Automation::Peers::AutomationPeer ^ PeerFromProvider(System::Windows::Automation::Provider::IRawElementProviderSimple ^ provider);
protected System.Windows.Automation.Peers.AutomationPeer PeerFromProvider (System.Windows.Automation.Provider.IRawElementProviderSimple provider);
member this.PeerFromProvider : System.Windows.Automation.Provider.IRawElementProviderSimple -> System.Windows.Automation.Peers.AutomationPeer
Protected Function PeerFromProvider (provider As IRawElementProviderSimple) As AutomationPeer

参数

返回

指定的 AutomationPeer 代理的 IRawElementProviderSimple

适用于

另请参阅