Share via


CoreAutomationRegistrar Class

Definition

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
Object Platform::Object IInspectable CoreAutomationRegistrar
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).

Applies to