Export (0) Print
Expand All

FileExtensionsAttribute.Extensions Property

.NET Framework 4.5

Gets or sets the file name extensions.

Namespace:  System.ComponentModel.DataAnnotations
Assembly:  System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)

member Extensions : string with get, set

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