IUIAutomationTextChildPattern::TextRange property

Retrieves a text range that encloses this child element.

This property is read-only.

Syntax


HRESULT get_TextRange(
  [out, retval, optional] IUIAutomationTextRange **range
);

Property value

Type: IUIAutomationTextRange**

A text range that encloses the child element.

Remarks

This property is equivalent to specifying this child element in a call to the IUIAutomationTextPattern::RangeFromChild method.

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

IUIAutomationTextChildPattern

 

 

Show: