RangeBaseAutomationPeer.GetPattern(PatternInterface) Metoda

Definicja

Pobiera wzorzec sterowania dla elementu skojarzonego RangeBase z tym RangeBaseAutomationPeerelementem .

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ść wyliczenia.

Zwraca

Jeśli parametr ma RangeValuewartość , ta metoda zwraca this wskaźnik. W patternInterface przeciwnym razie ta metoda zwraca wartość null.

Dotyczy

Zobacz też