Share via


AutomationPeer.GetPattern(PatternInterface) Method

Definition

Gets the control pattern that is associated with the specified PatternInterface.

public:
 virtual Platform::Object ^ GetPattern(PatternInterface patternInterface) = GetPattern;
IInspectable GetPattern(PatternInterface const& patternInterface);
public object GetPattern(PatternInterface patternInterface);
function getPattern(patternInterface)
Public Function GetPattern (patternInterface As PatternInterface) As Object

Parameters

patternInterface
PatternInterface

A value from the PatternInterface enumeration.

Returns

Object

Platform::Object

IInspectable

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

Applies to