Szerkesztés

Megosztás a következőn keresztül:


IInvokeProvider Interface

Definition

Exposes methods and properties to support UI Automation client access to controls that initiate or perform a single, unambiguous action and do not maintain state when activated.

public interface class IInvokeProvider
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("54fcb24b-e18e-47a2-b4d3-eccbe77599a2")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IInvokeProvider
public interface IInvokeProvider
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("54fcb24b-e18e-47a2-b4d3-eccbe77599a2")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IInvokeProvider = interface
type IInvokeProvider = interface
Public Interface IInvokeProvider
Derived
Attributes

Remarks

Implemented on a UI Automation provider that must support the InvokePattern control pattern.

Controls implement IInvokeProvider if the same behavior is not exposed through another control pattern provider. For example, if the Invoke method on a control performs the same action as the Expand or Collapse method, the control should not implement IInvokeProvider.

Methods

Invoke()

Sends a request to activate a control and initiate its single, unambiguous action.

Applies to

See also