Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AutomationInteropProvider Class

Definition

Namespace:
System.Windows.Automation.Provider
Assembly:
UIAutomationProvider.dll

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.

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

Name Description
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

Name Description
ClientsAreListening

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

Methods

Name Description
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


Feedback

Was this page helpful?