System.Windows.Forms.OpenFileDialog: Property Members

The properties of System.Windows.Forms.OpenFileDialog are listed below. For a list of all members, see the OpenFileDialog Members list.

See Also: Inherited members from System.Windows.Forms.FileDialog

Public Properties

override
CheckFileExistsbool.

Gets or sets a value indicating whether the dialog box displays a warning if the user specifies a file name that does not exist.

Multiselectbool.

Gets or sets a value indicating whether the dialog box allows multiple files to be selected.

ReadOnlyCheckedbool.

Gets or sets a value indicating whether the read-only check box is selected.

[read-only]
SafeFileNamestring.

Gets the file name and extension for the file selected in the dialog box. The file name does not include the path.

[read-only]
SafeFileNamesstring[].

Gets an array of file names and extensions for all the selected files in the dialog box. The file names do not include the path.

ShowReadOnlybool.

Gets or sets a value indicating whether the dialog box contains a read-only check box.