UIElementAutomationPeer.GetPattern(PatternInterface) メソッド

定義

この UIElementAutomationPeer に関連付けられた UIElement のコントロール パターンを取得します。

public:
 override System::Object ^ GetPattern(System::Windows::Automation::Peers::PatternInterface patternInterface);
public override object GetPattern (System.Windows.Automation.Peers.PatternInterface patternInterface);
override this.GetPattern : System.Windows.Automation.Peers.PatternInterface -> obj
Public Overrides Function GetPattern (patternInterface As PatternInterface) As Object

パラメーター

patternInterface
PatternInterface

列挙体からの値。

戻り値

patternInterfaceSynchronizedInput の場合に ISynchronizedInputProvider インターフェイスを実装するオブジェクト。それ以外の場合は、null

適用対象