Skip to content

An AI Agent that interacts with Windows OS at GUI level.

Python
1.0 KB
Raw Blame

get_TextContainer

Original Documentation

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