共用方式為


IUIAutomationSelectionPattern2::get_CachedItemCount 方法 (uiautomationclient.h)

取得快取的整數值,指出選取的專案數目。

這是可讀寫的屬性。

語法

HRESULT get_CachedItemCount(
  int *retVal
);

參數

retVal

傳回值

規格需求

   
最低支援的用戶端 Windows 10版本 1709 [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2016 [僅限傳統型應用程式]
目標平台 Windows
標頭 uiautomationclient.h (包含 UIAutomation.h)

另請參閱

IUIAutomationSelectionPattern2