Aracılığıyla paylaş


FlowDocumentScrollViewerAutomationPeer.GetPattern(PatternInterface) Yöntem

Tanım

Bu FlowDocumentScrollViewerAutomationPeerile ilişkili denetim desenini FlowDocumentScrollViewer alır.

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

Parametreler

patternInterface
PatternInterface

Sabit listesi değerlerinden biri.

Döndürülenler

Object

Desteklenen bir değerse patternInterface denetim desenini destekleyen bir nesne; değilse, null.

Açıklamalar

Aşağıdaki tabloda, değerine patternInterfacebağlı olarak yönteminin GetPattern ne döndürdüğü açıklanmaktadır:

Değeri: patternInterface Dönüş değeri
Scroll ScrollViewerAutomationPeer bunun FlowDocumentScrollViewerAutomationPeeriçin .
Text Arabirimini uygulayan ITextProvider bir nesne.
SynchronizedInput Arabirimini uygulayan ISynchronizedInputProvider bir nesne.

Şunlara uygulanır