.. highlightlang:: us .. index:: AppGetSelectedDatasets .. _appgetselecteddatasets: AppGetSelectedDatasets ====================== .. us.tag AppGetSelectedDatasets ENGLISH App New5400 :ref:`AppGetSelectedDatasets` retrieves the handles of all selected datasts in the active page. .. function:: handle = AppGetSelectedDatasets() .. us.return **Return Value** If the function succeeds, the return value is a vector of dataset handles of the active page or 0 if no dataset is selected. .. seealso:: :ref:`overview-application-object`, :ref:`AppGetActiveDocument`, :ref:`AppGetActiveEditor`, :ref:`AppGetSelectedLayers`, :ref:`AppGetSelectedXYDatasets`, :ref:`AppGetSelectedXYZDatasets`, :ref:`GetParent` :sub:`id-1658130`