共用方式為


AutomationPeer.ProviderFromPeer(AutomationPeer) 方法

定義

取得所指定之 IRawElementProviderSimpleAutomationPeer

protected public:
 System::Windows::Automation::Provider::IRawElementProviderSimple ^ ProviderFromPeer(System::Windows::Automation::Peers::AutomationPeer ^ peer);
protected internal System.Windows.Automation.Provider.IRawElementProviderSimple ProviderFromPeer (System.Windows.Automation.Peers.AutomationPeer peer);
member this.ProviderFromPeer : System.Windows.Automation.Peers.AutomationPeer -> System.Windows.Automation.Provider.IRawElementProviderSimple
Protected Friend Function ProviderFromPeer (peer As AutomationPeer) As IRawElementProviderSimple

參數

peer
AutomationPeer

自動化對等個體。

傳回

IRawElementProviderSimple

Proxy。

適用於

另請參閱