IRawElementProviderSimple.ProviderOptions Property
Definition
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.
Gets a value that specifies characteristics of the UI Automation provider; for example, whether it is a client-side or server-side provider.
public:
property System::Windows::Automation::Provider::ProviderOptions ProviderOptions { System::Windows::Automation::Provider::ProviderOptions get(); };
public System.Windows.Automation.Provider.ProviderOptions ProviderOptions { get; }
member this.ProviderOptions : System.Windows.Automation.Provider.ProviderOptions
Public ReadOnly Property ProviderOptions As ProviderOptions
Property Value
Either ClientSideProvider or ServerSideProvider.
Examples
The following example code shows an implementation of ProviderOptions for a server-side UI Automation provider.
ProviderOptions IRawElementProviderSimple.ProviderOptions
{
get
{
return ProviderOptions.ServerSideProvider;
}
}
ReadOnly Property ProviderOptions() As ProviderOptions _
Implements IRawElementProviderSimple.ProviderOptions
Get
Return ProviderOptions.ServerSideProvider
End Get
End Property
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
See also
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk