Input for WinForms | ComponentOne
C1.Win.Accessibility.Items.BaseInterfaces Namespace / IUiaSelectionProvider Interface / GetSelection Method

In This Topic
    GetSelection Method (IUiaSelectionProvider)
    In This Topic
    Get the currently selected elements
    Syntax
    'Declaration
     
    
    Function GetSelection() As IRawElementProviderSimple()

    Return Value

    An AutomationElement array containing the currently selected elements
    See Also