IVCWizCtlUI.GetDirectoryViaBrowseDlg Method
Gets the specified directory by using the Browse dialog box.
Namespace: Microsoft.VisualStudio.VsWizard
Assembly: Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)
Syntax
'Declaration
Function GetDirectoryViaBrowseDlg ( _
bstrDlgTitle As String, _
bstrInitialDir As String _
) As String
string GetDirectoryViaBrowseDlg(
string bstrDlgTitle,
string bstrInitialDir
)
String^ GetDirectoryViaBrowseDlg(
[InAttribute] String^ bstrDlgTitle,
[InAttribute] String^ bstrInitialDir
)
abstract GetDirectoryViaBrowseDlg :
bstrDlgTitle:string *
bstrInitialDir:string -> string
function GetDirectoryViaBrowseDlg(
bstrDlgTitle : String,
bstrInitialDir : String
) : String
Parameters
bstrDlgTitle
Type: System.StringRequired. A string containing the title to display in the Browse dialog box.
bstrInitialDir
Type: System.StringRequired. A string containing the initial directory to open in the Browse dialog box.
Return Value
Type: System.String
A string containing the complete directory path that the user selects after clicking Open in the Browse dialog box.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.