Export (0) Print
Expand All

SaveFileDialog Properties

The SaveFileDialog type exposes the following members.

  Name Description
Public property AddExtension Gets or sets a value indicating whether a file dialog automatically adds an extension to a file name if the user omits an extension. (Inherited from FileDialog.)
Public property CheckFileExists Gets or sets a value indicating whether a file dialog displays a warning if the user specifies a file name that does not exist. (Inherited from FileDialog.)
Public property CheckPathExists Gets or sets a value that specifies whether warnings are displayed if the user types invalid paths and file names. (Inherited from FileDialog.)
Public property CreatePrompt Gets or sets a value indicating whether SaveFileDialog prompts the user for permission to create a file if the user specifies a file that does not exist.
Public property CustomPlaces Gets or sets the list of custom places for file dialog boxes. (Inherited from FileDialog.)
Public property DefaultExt Gets or sets a value that specifies the default extension string to use to filter the list of files that are displayed. (Inherited from FileDialog.)
Public property DereferenceLinks Gets or sets a value indicating whether a file dialog returns either the location of the file referenced by a shortcut or the location of the shortcut file (.lnk). (Inherited from FileDialog.)
Public property FileName Gets or sets a string containing the full path of the file selected in a file dialog. (Inherited from FileDialog.)
Public property FileNames Gets an array that contains one file name for each selected file. (Inherited from FileDialog.)
Public property Filter Gets or sets the filter string that determines what types of files are displayed from either the OpenFileDialog or SaveFileDialog. (Inherited from FileDialog.)
Public property FilterIndex Gets or sets the index of the filter currently selected in a file dialog. (Inherited from FileDialog.)
Public property InitialDirectory Gets or sets the initial directory that is displayed by a file dialog. (Inherited from FileDialog.)
Public property OverwritePrompt Gets or sets a value indicating whether SaveFileDialog displays a warning if the user specifies the name of a file that already exists.
Public property RestoreDirectory This property is not implemented. (Inherited from FileDialog.)
Public property SafeFileName Gets a string that only contains the file name for the selected file. (Inherited from FileDialog.)
Public property SafeFileNames Gets an array that contains one safe file name for each selected file. (Inherited from FileDialog.)
Public property Tag Gets or sets an object associated with the dialog. This provides the ability to attach an arbitrary object to the dialog. (Inherited from CommonDialog.)
Public property Title Gets or sets the text that appears in the title bar of a file dialog. (Inherited from FileDialog.)
Public property ValidateNames Gets or sets a value indicating whether the dialog accepts only valid Win32 file names. (Inherited from FileDialog.)
Top
Show:
© 2014 Microsoft