IUIAutomationTextChildPattern::TextContainer property

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

This property is read-only.

Syntax


HRESULT get_TextContainer(
  [out, retval, optional]  IUIAutomationElement **container
);

Property value

Type: IUIAutomationElement**

The nearest ancestor element that supports the Text control pattern.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

UIAutomationClient.h (include UIAutomation.h)

IDL

UIAutomationClient.idl

See also

IUIAutomationTextChildPattern

 

 

Community Additions

ADD
Show:
© 2014 Microsoft