ArcGIS Pro 2.6 API Reference Guide
ShowDialog Method (ItemDialog)

ArcGIS.Desktop.Catalog Namespace > ItemDialog Class : ShowDialog Method
Opens the Browse dialog box
Syntax
public abstract Nullable<bool> ShowDialog()
Public MustOverride Function ShowDialog() As Nullable(Of Boolean)

Return Value

A boolean indicating if the dialog box was dismissed by pressing OK or Cancel
Remarks
You can either configure the Browse dialog box properties first then display it with the ShowDialog method, or display the dialog box and then set its properties.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

ItemDialog Class
ItemDialog Members