ITextChildProvider::get_TextContainer method

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

See Also

ITextChildProvider