Export (0) Print
Expand All

FileDialog.DefaultExt Property

Gets or sets the default file name extension.

[Visual Basic]
Public Property DefaultExt As String
[C#]
public string DefaultExt {get; set;}
[C++]
public: __property String* get_DefaultExt();
public: __property void set_DefaultExt(String*);
[JScript]
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("").

Requirements

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

Show:
© 2014 Microsoft