AutomationProperties.GetPatternProvider(PatternInterface) Method

Definition

Returns the pattern implementation for a given PatternInterface. Returns null if the pattern is not supported by the automated object.

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

Parameters

patternInterface
PatternInterface

Returns

Object

Applies to