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.
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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.