ButtonAutomationPeer.Invoke 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.
Sends a request to click the button associated with the automation peer.
public:
virtual void Invoke() = Invoke;
void Invoke();
public void Invoke();
function invoke()
Public Sub Invoke ()
Implements
Remarks
Calls to Invoke should return immediately without blocking. However, this behavior is entirely dependent on the Microsoft UI Automation provider implementation. In scenarios where calling Invoke causes a blocking issue, such as a modal dialog, a separate helper thread may be required to call the method.