Share via


CalendarAutomationPeer.GetPattern(PatternInterface) メソッド

定義

この Automation Peer に関連付けられている要素の指定されたコントロール パターンをサポートするオブジェクトを取得します。

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

コントロール パターンを指定する列挙値。

戻り値

patternInterfaceGridTableMultipleView、または Selection の場合、このメソッドは this ポインターを返します。それ以外の場合は null を返します。

適用対象