UtilFormsShowSaveFileDialog Method
Namespace: DevCase.Core.Application.FormsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
Public Shared Function ShowSaveFileDialog (
fileExtension As String,
defaultFilename As String,
filter As String,
Optional dialogTitle As String = "Save File...",
Optional initialDirectory As String = ""
) As String
Dim fileExtension As String
Dim defaultFilename As String
Dim filter As String
Dim dialogTitle As String
Dim initialDirectory As String
Dim returnValue As String
returnValue = UtilForms.ShowSaveFileDialog(fileExtension,
defaultFilename, filter, dialogTitle,
initialDirectory)
static member ShowSaveFileDialog :
fileExtension : string *
defaultFilename : string *
filter : string *
?dialogTitle : string *
?initialDirectory : string
(* Defaults:
let _dialogTitle = defaultArg dialogTitle "Save File..."
let _initialDirectory = defaultArg initialDirectory ""
*)
-> string
No code example is currently available or this language may not be supported.
- fileExtension String
-
The file extension.
- defaultFilename String
-
The default filename.
- filter String
-
The file filter.
- dialogTitle String (Optional)
-
The dialog title.
- initialDirectory String (Optional)
-
The dialog's initial directory.
String
If the dialog succeed, the return value is the selected filepath of the
SaveFileDialog,
if the dialog is canceled, the return value is
String.
This is a code example.
No code example is currently available or this language may not be supported.
Dim filePath As String =
ShowSaveFileDialog(defaultFilename:="My TextFile",
fileExtension:="*.txt",
filter:="Text File|*.txt",
dialogTitle:="Save Text File As...",
initialDirectory:=My.Application.Info.DirectoryPath)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.