Share via


RepeatButtonAutomationPeer.GetPattern(PatternInterface) Metoda

Definice

Získá řídicí vzor pro ContentElement , který je přidružen k tomuto ContentElementAutomationPeer.

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

Hodnota ve výčtu.

Návraty

Pokud patternInterface je Invoke, vrátí tato metoda odkaz na aktuální instanci objektu RepeatButtonAutomationPeer; v nullopačném případě .

Platí pro

Viz také