IUIAutomationTextChildPattern::get_TextRange method

Retrieves a text range that encloses this child element.

This property is read-only.

Syntax

HRESULT get_TextRange(
  IUIAutomationTextRange **range
);

Parameters

range

Return Value

None

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]
Target Platform Windows
Header uiautomationclient.h (include UIAutomation.h)

See Also

IUIAutomationTextChildPattern