Export (0) Print
Expand All

FileExtensionsAttribute::Extensions Property

.NET Framework 4.6 and 4.5

Gets or sets the file name extensions.

Namespace:  System.ComponentModel.DataAnnotations
Assemblies:   System.ComponentModel.Annotations (in System.ComponentModel.Annotations.dll)
  System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)

public:
property String^ Extensions {
	String^ get ();
	void set (String^ value);
}

Property Value

Type: System::String
The file name extensions, or the default file extensions (".png", ".jpg", ".jpeg", and ".gif") if the property is not set.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft