IExpandCollapseProvider::get_ExpandCollapseState 方法 (uiautomationcore.h)

指出控件的狀態、展開或折疊。

這個屬性是唯讀的。

語法

HRESULT get_ExpandCollapseState(
  ExpandCollapseState *pRetVal
);

參數

pRetVal

傳回值

規格需求

需求
最低支援的用戶端 Windows XP [傳統型應用程式 |UWP 應用程式]
最低支援的伺服器 Windows Server 2003 [傳統型應用程式 |UWP 應用程式]
目標平台 Windows
標頭 uiautomationcore.h (包含 UIAutomation.h)
Dll Uiautomationcore.dll

另請參閱

IExpandCollapseProvider

UI 自動化提供者概觀