Share via


DateTimeAutomationPeer.GetPattern(PatternInterface) Méthode

Définition

Obtient l'implémentation du modèle de contrôle pour ce DateTimeAutomationPeer.

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

Paramètres

patternInterface
PatternInterface

Type de modèle implémenté par l'élément à extraire.

Retours

Objet qui implémente l'interface de modèle ou null si l'interface de modèle spécifiée n'est pas implémentée par cet homologue.

S’applique à