IAnnotationProvider::Target property

The UI Automation element that is being annotated.

This property is read-only.

Syntax


HRESULT get_Target(
  [out, retval]  IRawElementProviderSimple **retVal
);

Property value

Type: IRawElementProviderSimple**

The UI Automation element that is being annotated. If the annotation target is a text range, the property value is the element that implements the Text control pattern (ITextProvider2) for the text range.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

UIAutomationCore.h (include UIAutomation.h)

IDL

UIAutomationCore.idl

See also

IAnnotationProvider

 

 

Community Additions

ADD
Show:
© 2015 Microsoft