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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.