IUIAutomationTextChildPattern::get_TextContainer method (uiautomationclient.h)

Retrieves this element's nearest ancestor element that supports the Text control pattern.

This property is read-only.

Syntax

HRESULT get_TextContainer(
  IUIAutomationElement **container
);

Parameters

container

Return value

None

Requirements

Requirement Value
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