Breyta

Deila með


AutomationPeer.GetPattern(PatternInterface) Method

Definition

When overridden in a derived class, gets the control pattern that is associated with the specified PatternInterface.

public:
 abstract System::Object ^ GetPattern(System::Windows::Automation::Peers::PatternInterface patternInterface);
public abstract object GetPattern (System.Windows.Automation.Peers.PatternInterface patternInterface);
abstract member GetPattern : System.Windows.Automation.Peers.PatternInterface -> obj
Public MustOverride Function GetPattern (patternInterface As PatternInterface) As Object

Parameters

patternInterface
PatternInterface

A value from the PatternInterface enumeration.

Returns

The object that implements the pattern interface; null if this peer does not support this interface.

Applies to

See also