Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IRawElementProviderAdviseEvents Interface

Exposes methods that are called to notify the root element of a fragment when a UI Automation client application begins or ends listening for events.

Namespace:  System.Windows.Automation.Provider
Assembly:  UIAutomationProvider (in UIAutomationProvider.dll)

[GuidAttribute("a407b27b-0f6d-4427-9292-473c7bf93258")]
[ComVisibleAttribute(true)]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IRawElementProviderAdviseEvents : IRawElementProviderSimple

The IRawElementProviderAdviseEvents type exposes the following members.

  NameDescription
Public propertyHostRawElementProviderGets a base provider for this element. (Inherited from IRawElementProviderSimple.)
Public propertyProviderOptionsGets a value that specifies characteristics of the UI Automation provider; for example, whether it is a client-side or server-side provider. (Inherited from IRawElementProviderSimple.)
Top

  NameDescription
Public methodAdviseEventAddedNotifies the UI Automation provider when a UI Automation client begins listening for a specific event, including a property-changed event.
Public methodAdviseEventRemovedNotifies the UI Automation provider when a UI Automation client stops listening for a specific event, including a property-changed event.
Public methodGetPatternProviderRetrieves an object that provides support for a control pattern on a UI Automation element. (Inherited from IRawElementProviderSimple.)
Public methodGetPropertyValueRetrieves the value of a property supported by the UI Automation provider. (Inherited from IRawElementProviderSimple.)
Top

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

Show:
© 2017 Microsoft