Share via


DocumentViewerBaseAutomationPeer.GetPattern(PatternInterface) Metoda

Definice

Získá vzor ovládacího prvku, DocumentViewerBase který je přidružen k tomuto DocumentViewerBaseAutomationPeer.

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

Parametry

patternInterface
PatternInterface

Jedna z hodnot výčtu

Návraty

Pokud patternInterface je Text, vrátí ITextProvider tato metoda odkaz.

Platí pro