Επεξεργασία

Κοινή χρήση μέσω


AutomationInteropProvider Class

Definition

Provides support for communication between UI Automation providers and UI Automation client applications.

public ref class AutomationInteropProvider abstract sealed
public static class AutomationInteropProvider
type AutomationInteropProvider = class
Public Class AutomationInteropProvider
Inheritance
AutomationInteropProvider

Fields

AppendRuntimeId

Contains a value that, when returned as the first element of the array passed by the UI Automation provider to GetRuntimeId(), indicates that the ID is partial and should be appended to the ID provided by the base provider.

InvalidateLimit

Specifies the maximum number of events to send before batching.

ItemsInvalidateLimit

The maximum number of events to send before batching for items in containers.

RootObjectId

Contains a value used in the lParam member of a WM_GETOBJECT message, indicating that the server should return a reference to the root raw element provider.

Properties

ClientsAreListening

Gets a value that specifies whether any UI Automation client application is subscribed to UI Automation events.

Methods

HostProviderFromHandle(IntPtr)

Returns a UI Automation provider that represents the specified window.

RaiseAutomationEvent(AutomationEvent, IRawElementProviderSimple, AutomationEventArgs)

Raises a pattern event or a custom event.

RaiseAutomationPropertyChangedEvent(IRawElementProviderSimple, AutomationPropertyChangedEventArgs)

Raises an event when a UI Automation property has changed.

RaiseStructureChangedEvent(IRawElementProviderSimple, StructureChangedEventArgs)

Raises an event when the UI Automation tree has changed.

ReturnRawElementProvider(IntPtr, IntPtr, IntPtr, IRawElementProviderSimple)

Returns the UI automation provider for an element in response to a WM_GETOBJECT message.

Applies to