Share via


FlowDocumentScrollViewerAutomationPeer.GetPattern(PatternInterface) メソッド

定義

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

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

列挙値の 1 つ。

戻り値

patternInterface がサポートされている値の場合は、コントロール パターンをサポートするオブジェクト。それ以外の場合は、null

注釈

次の表は、 の値に GetPattern 応じて、 メソッドが返す内容 patternInterfaceを示しています。

patternInterface の値 戻り値
Scroll この ScrollViewerAutomationPeerFlowDocumentScrollViewerAutomationPeer
Text ITextProvider インターフェイスを実装するオブジェクト。
SynchronizedInput ISynchronizedInputProvider インターフェイスを実装するオブジェクト。

適用対象