Partager via


VCWizCtlClass.GetDirectoryViaBrowseDlg(String, String) Method

Definition

Gets the specified directory by using the Browse dialog box.

public:
 virtual System::String ^ GetDirectoryViaBrowseDlg(System::String ^ bstrDlgTitle, System::String ^ bstrInitialDir) = Microsoft::VisualStudio::VsWizard::IVCWizCtlUI::GetDirectoryViaBrowseDlg;
public:
 virtual Platform::String ^ GetDirectoryViaBrowseDlg(Platform::String ^ bstrDlgTitle, Platform::String ^ bstrInitialDir) = Microsoft::VisualStudio::VsWizard::IVCWizCtlUI::GetDirectoryViaBrowseDlg;
 virtual std::wstring GetDirectoryViaBrowseDlg(std::wstring const & bstrDlgTitle, std::wstring const & bstrInitialDir);
[System.Runtime.InteropServices.DispId(1610743855)]
public virtual string GetDirectoryViaBrowseDlg (string bstrDlgTitle, string bstrInitialDir);
[<System.Runtime.InteropServices.DispId(1610743855)>]
abstract member GetDirectoryViaBrowseDlg : string * string -> string
override this.GetDirectoryViaBrowseDlg : string * string -> string
Public Overridable 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.

Implements

Attributes

Remarks

See the ISAPI project directory text box in GetClassCommandHandlerDesc for more information.

Applies to