Specifies the media types that are accepted for file uploads for this property. Can only be set on IFileDescriptor (derived) property types.

[AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple = True, AllowMultiple = True, AllowMultiple = True, AllowMultiple = True, AllowMultiple = True, AllowMultiple = True)]
public sealed class AcceptMediaTypeAttribute: IContentPropertyAttribute
Inheritance:
ObjectAttributeAcceptMediaTypeAttribute
Implements:
IContentPropertyAttribute

Constructors

AcceptMediaTypeAttribute(string)

Methods

Apply(ContentPropertyDefinition)