IUIAutomationTextChildPattern::get_TextContainer 方法 (uiautomationclient.h)
擷取這個元素最接近的上階元素,以支援 文字 控制項模式。
這個屬性是唯讀的。
語法
HRESULT get_TextContainer(
IUIAutomationElement **container
);
參數
container
傳回值
無
規格需求
最低支援的用戶端 | Windows 8 [僅限傳統型應用程式] |
最低支援的伺服器 | Windows Server 2012 [僅限傳統型應用程式] |
目標平台 | Windows |
標頭 | uiautomationclient.h (包含 UIAutomation.h) |