DefaultExt Property

Returns or sets the default file extension in the ShowFileDialog dialog box.

Applies To

Image Admin control

Syntax

object.DefaultExt[=extension]

Data Type

String

Remarks

The extension of the currently selected filter overrides the default extension.

The default extension is used only when there is no extension associated with the filter (for example, 'All files *.*').

The first three characters of the string you specify are used as the file extension when the user does not specify a file extension.

See Also

ShowFileDialog method