DateTimeAutomationPeer.GetPattern Method (PatternInterface)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the control pattern implementation for this DateTimeAutomationPeer.

Namespace:   System.Windows.Automation.Peers
Assembly:  PresentationFramework (in PresentationFramework.dll)

public override object GetPattern(
	PatternInterface patternInterface
)

Parameters

patternInterface
Type: System.Windows.Automation.Peers.PatternInterface

The type of pattern implemented by the element to retrieve.

Return Value

Type: System.Object

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

.NET Framework
Available since 4.0
Return to top
Show: