IViewAutomationPeer.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:
System::Object ^ GetPattern(System::Windows::Automation::Peers::PatternInterface patternInterface);
public object GetPattern (System.Windows.Automation.Peers.PatternInterface patternInterface);
abstract member GetPattern : System.Windows.Automation.Peers.PatternInterface -> obj
Public Function GetPattern (patternInterface As PatternInterface) As Object
Parameters
- patternInterface
- PatternInterface
A value in the enumeration.
Returns
Return the object that implements the control pattern. If this method returns null, the return value from GetPattern(PatternInterface) is used.
Applies to
See also
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.