Επεξεργασία

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


IRawElementProviderAdviseEvents Interface

Definition

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.

public interface class IRawElementProviderAdviseEvents : System::Windows::Automation::Provider::IRawElementProviderSimple
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("a407b27b-0f6d-4427-9292-473c7bf93258")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IRawElementProviderAdviseEvents : System.Windows.Automation.Provider.IRawElementProviderSimple
public interface IRawElementProviderAdviseEvents : System.Windows.Automation.Provider.IRawElementProviderSimple
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("a407b27b-0f6d-4427-9292-473c7bf93258")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IRawElementProviderAdviseEvents = interface
    interface IRawElementProviderSimple
type IRawElementProviderAdviseEvents = interface
    interface IRawElementProviderSimple
Public Interface IRawElementProviderAdviseEvents
Implements IRawElementProviderSimple
Attributes
Implements

Properties

HostRawElementProvider

Gets a base provider for this element.

(Inherited from IRawElementProviderSimple)
ProviderOptions

Gets 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)

Methods

AdviseEventAdded(Int32, Int32[])

Notifies the UI Automation provider when a UI Automation client begins listening for a specific event, including a property-changed event.

AdviseEventRemoved(Int32, Int32[])

Notifies the UI Automation provider when a UI Automation client stops listening for a specific event, including a property-changed event.

GetPatternProvider(Int32)

Retrieves an object that provides support for a control pattern on a UI Automation element.

(Inherited from IRawElementProviderSimple)
GetPropertyValue(Int32)

Retrieves the value of a property supported by the UI Automation provider.

(Inherited from IRawElementProviderSimple)

Applies to

See also