IUIAutomationSelectionPattern 介面 (uiautomationclient.h)

提供控件的存取權,其中包含可選取的子專案。 此元素的子系支援 IUIAutomationSelectionItemPattern

繼承

IUIAutomationSelectionPattern 介面繼承自 IUnknown 介面。 IUIAutomationSelectionPattern 也有下列類型的成員:

方法

IUIAutomationSelectionPattern 介面具有這些方法。

 
IUIAutomationSelectionPattern::get_CachedCanSelectMultiple

擷取快取值,指出是否可以一次選取容器中的多個專案。
IUIAutomationSelectionPattern::get_CachedIsSelectionRequired

擷取快取值,指出是否必須隨時選取一個專案。
IUIAutomationSelectionPattern::get_CurrentCanSelectMultiple

指出是否可以一次選取容器中的多個專案。
IUIAutomationSelectionPattern::get_CurrentIsSelectionRequired

指出是否必須隨時選取至少一個專案。
IUIAutomationSelectionPattern::GetCachedSelection

擷取容器中快取的已選取專案。
IUIAutomationSelectionPattern::GetCurrentSelection

擷取容器中選取的專案。

規格需求

需求
最低支援的用戶端 Windows 7、Windows Vista SP2 和 Platform Update for Windows Vista、Windows XP 含 SP3 和適用於 Windows Vista 的平臺更新 [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2008 R2、Windows Server 2008 SP2 和 Platform Update for Windows Server 2008、Windows Server 2003 SP2 和 Platform Update for Windows Server 2008 [僅限桌面應用程式]
目標平台 Windows
標頭 uiautomationclient.h (包含 UIAutomation.h)

另請參閱

用戶端的控制項模式介面