Interface ISelectionProvider2

All Superinterfaces:
IInitable, ISelectionProvider

public interface ISelectionProvider2 extends ISelectionProvider
Extends the ISelectionItemProvider interface to provide information about selected items.
  • Method Details

    • get_CurrentSelectedItem

      IUIAElement get_CurrentSelectedItem()
      Gets the currently selected item.
      Returns:
      the current selected item
    • get_FirstSelectedItem

      IUIAElement get_FirstSelectedItem()
      Gets the first item in a group of selected items.
      Returns:
      the first selected item
    • get_LastSelectedItem

      IUIAElement get_LastSelectedItem()
      Gets the last item in a group of selected items.
      Returns:
      the last selected item
    • get_ItemCount

      int get_ItemCount()
      Gets the number of selected items.
      Returns:
      the item count