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.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.
Implements
IVCWizCtlUI.GetDirectoryViaBrowseDlg(String, String)
Remarks
See the ISAPI project directory text box in GetClassCommandHandlerDesc for more information.
.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.
See Also
Reference
Microsoft.VisualStudio.VsWizard Namespace