Editar

Partilhar via


DateTimeAutomationPeer.GetPattern(PatternInterface) Method

Definition

Gets the control pattern implementation for this 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

Parameters

patternInterface
PatternInterface

The type of pattern implemented by the element to retrieve.

Returns

The object that implements the pattern interface, or null if the specified pattern interface is not implemented by this peer.

Applies to