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

[AttributeUsage]
public sealed class AcceptMediaTypeAttribute: IContentPropertyAttribute
Inheritance:
ObjectAttributeAcceptMediaTypeAttribute
Implements:
IContentPropertyAttribute

Constructors

AcceptMediaTypeAttribute(string)

Methods

Apply(ContentPropertyDefinition)