Freigeben über


CoreAutomationRegistrar Klasse

Definition

Macht Methoden zum Registrieren neuer Steuerelementmuster, Eigenschaften, Ereignisse und Anmerkungen verfügbar.

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
Vererbung
Object Platform::Object IInspectable CoreAutomationRegistrar
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 11 (eingeführt in 10.0.22000.0)
API contract
Windows.UI.UIAutomation.UIAutomationContract (eingeführt in v2.0)

Methoden

RegisterAnnotationType(Guid)

Registriert einen benutzerdefinierten Anmerkungstyp für Textbereiche.

UnregisterAnnotationType(AutomationAnnotationTypeRegistration)

Hebt die Registrierung eines benutzerdefinierten Anmerkungstyps auf, der zuvor für Textbereiche mit RegisterAnnotationType(System.Guid) registriert wurde.

Gilt für: