ArcGIS Pro 2.7 API Reference Guide
SelectFolder Method

ArcGIS.Desktop.Framework.Dialogs Namespace > BrowseForFolder Class : SelectFolder Method
The window caption.
The path to start from.
The parent window handle.
Shows the system (Win32) Select Folder dialog.
Syntax
Public Function SelectFolder( _
   ByVal caption As String, _
   ByVal initialPath As String, _
   ByVal parentWindow As IntPtr _
) As String

Parameters

caption
The window caption.
initialPath
The path to start from.
parentWindow
The parent window handle.

Return Value

The path to the selected folder.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

BrowseForFolder Class
BrowseForFolder Members