AutomationPeer.GetPattern(PatternInterface) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The object that implements the pattern interface; null if the peer does not support this interface.