IUIAutomationPatternInstance interface

Represents a control pattern object. The client API wrapper uses this interface to implement all property and method calls in terms of the GetProperty and CallMethod methods.

Methods

The IUIAutomationPatternInstance interface has these methods.

Method Description
IUIAutomationPatternInstance::CallMethod Client wrapper implements methods by calling this CallMethod function, specifying the parameters as an array of pointers.
IUIAutomationPatternInstance::GetProperty The client wrapper object implements the IUIAutomation::get_CurrentX and IUIAutomationElement::get_CachedX methods by calling this function, specifying the property by index.

Remarks

This interface is implemented by Microsoft UI Automation and returned by methods such as GetCurrentPattern. The interface is passed to CreateClientWrapper, where it is used to call the appropriate methods and property getters.

Requirements

   
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista, Windows XP with SP3 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008, Windows Server 2003 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header uiautomationcore.h (include UIAutomation.h)

See Also

Control Pattern Interfaces for Clients