IUIAutomationTextChildPattern::get_TextContainer method

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

   
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