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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.