Share via


DataGridAutomationPeer.GetPattern(PatternInterface) メソッド

定義

このオートメーション ピアに関連付けられている要素について、指定されたコントロール パターンをサポートするオブジェクトを返します。

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

列挙体の値。

戻り値

Object

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

適用対象