CoreAutomationRegistrar Klasse
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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
- 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. |