IUIAutomationSelectionPattern2 interface (uiautomationclient.h)
Extends the IUIAutomationSelectionPattern interface to provide information about selected items.
Inheritance
The IUIAutomationSelectionPattern2 interface inherits from the IUIAutomationSelectionPattern interface.
Methods
The IUIAutomationSelectionPattern2 interface has these methods.
IUIAutomationSelectionPattern2::get_CachedCurrentSelectedItem Gets a cached IUIAutomationElement object representing the currently selected item. |
IUIAutomationSelectionPattern2::get_CachedFirstSelectedItem Gets a cached IUIAutomationElement object representing the first item in a group of selected items. |
IUIAutomationSelectionPattern2::get_CachedItemCount Gets a cached integer value indicating the number of selected items. |
IUIAutomationSelectionPattern2::get_CachedLastSelectedItem Gets a cached IUIAutomationElement object representing the last item in a group of selected items. |
IUIAutomationSelectionPattern2::get_CurrentCurrentSelectedItem Gets an IUIAutomationElement object representing the currently selected item. |
IUIAutomationSelectionPattern2::get_CurrentFirstSelectedItem Gets an IUIAutomationElement object representing the first item in a group of selected items. |
IUIAutomationSelectionPattern2::get_CurrentItemCount Gets an integer value indicating the number of selected items. |
IUIAutomationSelectionPattern2::get_CurrentLastSelectedItem Gets an IUIAutomationElement object representing the last item in a group of selected items. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1709 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Target Platform | Windows |
Header | uiautomationclient.h (include UIAutomation.h) |