ITextChildProvider::get_TextContainer method (uiautomationcore.h)
Retrieves this element's nearest ancestor provider that supports the Text control pattern.
This property is read-only.
Syntax
HRESULT get_TextContainer(
IRawElementProviderSimple **pRetVal
);
Parameters
pRetVal
Return value
None
Requirements
| Minimum supported client | Windows 8 [desktop apps | UWP apps] |
| Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
| Target Platform | Windows |
| Header | uiautomationcore.h (include UIAutomation.h) |
| DLL | UIAutomationCore.dll |