IRawElementProviderSimple.ProviderOptions Property

 

Gets a value that specifies characteristics of the UI Automation provider; for example, whether it is a client-side or server-side provider.

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

ProviderOptions ProviderOptions { get; }

UI Automation treats different types of providers differently. For example, events from server-side providers are broadcast to all listening UI Automation client processes, but events from client-side providers remain in that client process.

The following example code shows an implementation of ProviderOptions for a server-side UI Automation provider.

ProviderOptions IRawElementProviderSimple.ProviderOptions
{
    get 
    {
        return ProviderOptions.ServerSideProvider;
    }
}

.NET Framework
Available since 3.0
Return to top
Show: