This documentation is archived and is not being maintained.

FileDialog.DefaultExt Property

Gets or sets the default file name extension.

[Visual Basic]
Public Property DefaultExt As String
public string DefaultExt {get; set;}
public: __property String* get_DefaultExt();
public: __property void set_DefaultExt(String*);
public function get DefaultExt() : String;
public function set DefaultExt(String);

Property Value

The default file name extension. The returned string does not include the period (.). The default value is an empty string("").


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

FileDialog Class | FileDialog Members | System.Windows.Forms Namespace