UIElement3D.OnCreateAutomationPeer メソッド

定義

Windows Presentation Foundation (WPF) インフラストラクチャのクラス固有の AutomationPeer 実装を返します。

protected:
 virtual System::Windows::Automation::Peers::AutomationPeer ^ OnCreateAutomationPeer();
protected virtual System.Windows.Automation.Peers.AutomationPeer OnCreateAutomationPeer();
abstract member OnCreateAutomationPeer : unit -> System.Windows.Automation.Peers.AutomationPeer
override this.OnCreateAutomationPeer : unit -> System.Windows.Automation.Peers.AutomationPeer
Protected Overridable Function OnCreateAutomationPeer () As AutomationPeer

返品

型固有の AutomationPeer 実装。

注釈

OnCreateAutomationPeer は、.NET Framework バージョン 3.5 で導入されています。 詳細については、「 バージョンと依存関係」を参照してください。

注意 (継承者)

このメソッドの実装は、通常、特定の AutomationPeer 実装のコンストラクターを呼び出し、戻り値として返します。

Windows Presentation Foundation (WPF) インフラストラクチャに独自の UIElement3D 実装を提供するには、すべての AutomationPeer 派生クラスがこのメソッドを実装する必要があります。 このパターンの実装の詳細については、 AutomationPeerを参照してください。

適用対象