ArcGIS Pro 2.6 API Reference Guide
Items Property (OpenItemDialog)
Example 

ArcGIS.Desktop.Catalog Namespace > OpenItemDialog Class : Items Property
Gets the items selected in the Browse dialog box
Syntax
public IEnumerable<Item> Items {get;}
Public ReadOnly Property Items As IEnumerable(Of Item)
Example
OpenItemDialog addToProjectDialog = new OpenItemDialog();
addToProjectDialog.Title = "Add To Project";
addToProjectDialog.InitialLocation = @"C:\Data\NewYork\Counties\Maps";
addToProjectDialog.MultiSelect = true;
addToProjectDialog.Filter = ItemFilters.composite_maps_import;

bool? ok = addToMapDialog.ShowDialog();

if (ok == true)
{
  IEnumerable<Item> selectedItems = addToMapDialog.Items;
  foreach (Item selectedItem in selectedItems)
    MapFactory.Instance.CreateMapFromItem(selectedItem);
}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

OpenItemDialog Class
OpenItemDialog Members