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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.