Skip to main content
IUIAutomationAnnotationPattern interface

Provides access to the properties of an annotation in a document.

When to implement

UI Automation client applications do not implement IUIAutomationAnnotationPattern.

When to use

UI Automation client applications can use this interface to retrieve information about an annotation in a document.

Members

The IUIAutomationAnnotationPattern interface inherits from the IUnknown interface. IUIAutomationAnnotationPattern also has these types of members:

Properties

The IUIAutomationAnnotationPattern interface has these properties.

PropertyAccess typeDescription

CachedAnnotationTypeId

Read-only

Retrieves a cached value that identifies this annotation's type.

CachedAnnotationTypeName

Read-only

Retrieves the cached localized name of this annotation's type.

CachedAuthor

Read-only

Retrieves the cached name of the annotation author.

CachedDateTime

Read-only

Retrieves the cached date and time that this annotation was created.

CachedTarget

Read-only

Retrieves the cached element that is being annotated.

CurrentAnnotationTypeId

Read-only

Retrieves a value that identifies the annotation's type.

CurrentAnnotationTypeName

Read-only

Retrieves the localized name of this annotation's type.

CurrentAuthor

Read-only

Retrieves the name of the annotation author.

CurrentDateTime

Read-only

Retrieves the date and time that this annotation was created.

CurrentTarget

Read-only

Retrieves the element that is being annotated.

 

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

UIAutomationClient.h (include UIAutomation.h)

IDL

UIAutomationClient.idl

DLL

UIAutomationCore.dll

IID

IID_IUIAutomationAnnotationPattern is defined as 9a175b21-339e-41b1-8e8b-623f6b681098

See also

Control Pattern Interfaces for Clients