ProviderOptions Enum
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.
Contains values that specify the type of UI Automation provider.
This enumeration supports a bitwise combination of its member values.
public enum class ProviderOptions
[System.Flags]
public enum ProviderOptions
[<System.Flags>]
type ProviderOptions =
Public Enum ProviderOptions
- Inheritance
- Attributes
Fields
ClientSideProvider | 1 | The UI Automation provider is a client-side provider. |
NonClientAreaProvider | 4 | The UI Automation provider is a non-client-area provider. |
OverrideProvider | 8 | The UI Automation provider overrides another provider. |
ProviderOwnsSetFocus | 16 | The UI Automation provider handles its own focus, and does not want UI Automation to set focus to the nearest window on its behalf when SetFocus() is called. This option is typically used by providers for windows that appear to take focus without actually receiving Win32 focus, such as menus and drop-down menus. |
ServerSideProvider | 2 | The UI Automation provider is a server-side provider. |
UseComThreading | 32 | The UI Automation provider expects to be called according to COM threading rules. If the provider is in a Single-Threaded Apartment, it will be called only on the apartment thread. Only Server-side providers can use this option. |
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈