VsShellUtilities.SelectDirectory(IVsUIShell2, IntPtr, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Selects a directory using the dialog.
public static string SelectDirectory (Microsoft.VisualStudio.Shell.Interop.IVsUIShell2 vsUIShell, IntPtr handle, string title, string initialDirectory);
static member SelectDirectory : Microsoft.VisualStudio.Shell.Interop.IVsUIShell2 * nativeint * string * string -> string
Public Function SelectDirectory (vsUIShell As IVsUIShell2, handle As IntPtr, title As String, initialDirectory As String) As String
Parameters
- vsUIShell
- IVsUIShell2
The VS UI Shell service.
- handle
-
IntPtr
nativeint
The dialog parent handle.
- title
- String
The dialog title. Leave this empty to use the default behavior.
- initialDirectory
- String
The initial directory. Leave this empty to use the default behavior.
Returns
The selected directory path.