Compartilhar via


VCWizCtlClass.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
Public Overridable Function GetDirectoryViaBrowseDlg ( _
    bstrDlgTitle As String, _
    bstrInitialDir As String _
) As String
public virtual string GetDirectoryViaBrowseDlg(
    string bstrDlgTitle,
    string bstrInitialDir
)
public:
virtual String^ GetDirectoryViaBrowseDlg(
    [InAttribute] String^ bstrDlgTitle, 
    [InAttribute] String^ bstrInitialDir
)
abstract GetDirectoryViaBrowseDlg : 
        bstrDlgTitle:string * 
        bstrInitialDir:string -> string  
override GetDirectoryViaBrowseDlg : 
        bstrDlgTitle:string * 
        bstrInitialDir:string -> string
public 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.

Implements

IVCWizCtlUI.GetDirectoryViaBrowseDlg(String, String)

Remarks

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

.NET Framework Security

See Also

Reference

VCWizCtlClass Class

Microsoft.VisualStudio.VsWizard Namespace

Other Resources

Designing a Wizard

Visual C++ Extensibility Object Model