다음을 통해 공유


CoreAutomationRegistrar 클래스

정의

새 컨트롤 패턴, 속성, 이벤트 및 주석을 등록하기 위한 메서드를 노출합니다.

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
상속
Object Platform::Object IInspectable CoreAutomationRegistrar
특성

Windows 요구 사항

디바이스 패밀리
Windows 11 (10.0.22000.0에서 도입되었습니다.)
API contract
Windows.UI.UIAutomation.UIAutomationContract (v2.0에서 도입되었습니다.)

메서드

RegisterAnnotationType(Guid)

텍스트 범위에 대한 사용자 지정 주석 형식을 등록합니다.

UnregisterAnnotationType(AutomationAnnotationTypeRegistration)

RegisterAnnotationType(System.Guid)을 사용하여 텍스트 범위에 대해 이전에 등록된 사용자 지정 주석 형식의 등록을 취소합니다.

적용 대상