Freigeben über


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.String
    Required. A string containing the title to display in the Browse dialog box.
  • bstrInitialDir
    Type: System.String
    Required. 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

See Also

Reference

IVCWizCtlUI Interface

Microsoft.VisualStudio.VsWizard Namespace