Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to v2.
Opens the appropriate folder browsing dialog box, depending on the operating system version.
Namespace: Microsoft.WebMatrix.Extensibility
Assembly: Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)
Syntax
'Declaration
Function ShowFolderDialog ( _
startFolderPath As String, _
parentWindow As Window _
) As String
'Usage
Dim instance As IWebMatrixHost
Dim startFolderPath As String
Dim parentWindow As Window
Dim returnValue As String
returnValue = instance.ShowFolderDialog(startFolderPath, _
parentWindow)
string ShowFolderDialog(
string startFolderPath,
Window parentWindow
)
String^ ShowFolderDialog(
String^ startFolderPath,
Window^ parentWindow
)
abstract ShowFolderDialog :
startFolderPath:string *
parentWindow:Window -> string
function ShowFolderDialog(
startFolderPath : String,
parentWindow : Window
) : String
Parameters
startFolderPath
Type: System.StringThe folder path to start at.
parentWindow
Type: System.Windows.WindowThe parent window, if not the standard WebMatrix one.
Return Value
Type: System.String
The path to selected folder, if selection succeeded.