Share via


DateTimeAutomationPeer.GetPattern(PatternInterface) メソッド

定義

この DateTimeAutomationPeer のコントロール パターンの実装を取得します。

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

取得対象の要素が実装するパターンの種類。

戻り値

パターン インターフェイスを実装するオブジェクト。このピアが指定されたパターン インターフェイスを実装していない場合は null

適用対象