Class MediaDescriptorAttribute
Attribute for model type which support media
Inheritance
System.Object
MediaDescriptorAttribute
Namespace: EPiServer.Framework.DataAnnotations
Assembly: EPiServer.Framework.dll
Version: 12.0.3Syntax
public sealed class MediaDescriptorAttribute : Attribute
Constructors
MediaDescriptorAttribute()
Declaration
public MediaDescriptorAttribute()
Properties
Extensions
The extensions that this type support.
Declaration
public string[] Extensions { get; set; }
Property Value
Type | Description |
---|---|
System. |
Remarks
Use Extension
ExtensionString
Gets or sets the Extensions as a comma-separated list.
Declaration
public string ExtensionString { get; set; }
Property Value
Type | Description |
---|---|
System. |
The Extensions string. |
Remarks
This can be used instead of Extensions if your project is CLS-compliant.