IRawElementProviderSimple.ProviderOptions Property

Definition

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

C#
public System.Windows.Automation.Provider.ProviderOptions ProviderOptions { get; }

Property Value

Either ClientSideProvider or ServerSideProvider.

Examples

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

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

Remarks

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.

Applies to

Ürün Sürümler
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also