ButtonAutomationPeer.GetPattern(PatternInterface) Metoda

Definicja

Pobiera obiekt obsługujący określony wzorzec sterowania elementu skojarzonego z tym elementem równorzędnym automatyzacji.

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

Wartość w wyliczenie.

Zwraca

Object

Jeśli patternInterface jest to Invoke, ta metoda zwraca this wskaźnik, w przeciwnym razie ta metoda zwraca nullwartość .

Dotyczy

Zobacz też