Partilhar via


IVCWizCtlUI.GetDirectoryViaBrowseDlg(String, String) Method

Definition

Gets the specified directory by using the Browse dialog box.

public:
 System::String ^ GetDirectoryViaBrowseDlg(System::String ^ bstrDlgTitle, System::String ^ bstrInitialDir);
public:
 Platform::String ^ GetDirectoryViaBrowseDlg(Platform::String ^ bstrDlgTitle, Platform::String ^ bstrInitialDir);
std::wstring GetDirectoryViaBrowseDlg(std::wstring const & bstrDlgTitle, std::wstring const & bstrInitialDir);
[System.Runtime.InteropServices.DispId(1610743855)]
public string GetDirectoryViaBrowseDlg (string bstrDlgTitle, string bstrInitialDir);
[<System.Runtime.InteropServices.DispId(1610743855)>]
abstract member GetDirectoryViaBrowseDlg : string * string -> string
Public Function GetDirectoryViaBrowseDlg (bstrDlgTitle As String, bstrInitialDir As String) As String

Parameters

bstrDlgTitle
String

Required. A string containing the title to display in the Browse dialog box.

bstrInitialDir
String

Required. A string containing the initial directory to open in the Browse dialog box.

Returns

A string containing the complete directory path that the user selects after clicking Open in the Browse dialog box.

Attributes

Applies to