AutomationPeer.PeerFromProvider(IRawElementProviderSimple) メソッド

定義

指定した AutomationPeer プロキシの IRawElementProviderSimple を取得します。Gets an AutomationPeer for the specified IRawElementProviderSimple proxy.

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

パラメーター

provider
IRawElementProviderSimple

IRawElementProviderSimple を実装するクラス。The class that implements IRawElementProviderSimple.

戻り値

AutomationPeer

指定した AutomationPeer プロキシの IRawElementProviderSimpleAn AutomationPeer for the specified IRawElementProviderSimple proxy.

適用対象

こちらもご覧ください