IUIAutomationAnnotationPattern::CurrentTarget property

Retrieves the element that is being annotated.

This property is read-only.

Syntax


HRESULT get_CurrentTarget(
  [out, retval] IUIAutomationElement *retVal
);

Property value

Type: IUIAutomationElement*

The element that is being annotated. If the annotation target is a text range, this property contains the element that implements the Text control pattern for the text range.

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

See also

IUIAutomationAnnotationPattern

 

 

Show: