CoreAutomationRegistrar Class
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.
Exposes methods for registering new control patterns, properties, events, and annotations.
public ref class CoreAutomationRegistrar abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.UI.UIAutomation.UIAutomationContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CoreAutomationRegistrar final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.UI.UIAutomation.UIAutomationContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class CoreAutomationRegistrar
Public Class CoreAutomationRegistrar
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 11 (introduced in 10.0.22000.0)
|
API contract |
Windows.UI.UIAutomation.UIAutomationContract (introduced in v2.0)
|
Methods
RegisterAnnotationType(Guid) |
Registers a custom annotation type for text ranges. |
UnregisterAnnotationType(AutomationAnnotationTypeRegistration) |
Unregisters a custom annotation type that was previously registered for text ranges with RegisterAnnotationType(System.Guid). |