.NET Framework Class Library
UserInterface.SaveFileName Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > UserInterface Class > UserInterface Methods >

.NET Framework Class Library
UserInterface.SaveFileName Method

Shows a save file dialog box.

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Function SaveFileName ( _

 root As String, _
 filter As String, _
 Optional title As String = "Save file" _
As String

C#

public string SaveFileName(

 string root,
 string filter,
 string title = "Save file"
)

Visual C++

public:

StringSaveFileName(
 Stringroot,
 Stringfilter,
 Stringtitle = L"Save file"
)

JavaScript

function saveFileName(rootfiltertitle);

Parameters

root

Type: System.String
starting directory for the save dialog box

filter

Type: System.String
filter to apply (like description1|filter1|description2|filter2|...)

title (Optional)

Type: System.String
Optional. The title of the form

Return Value

full path name of the saved file

Remarks

See Also

UserInterface Class

UserInterface Members

MwPDMApi Namespace