MimeTypePropertyAttribute Class

Definition

This attribute indicates another property in the same type that contains the MIME type that should be used for the data contained in the property this attribute is applied to.

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public sealed class MimeTypePropertyAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)>]
type MimeTypePropertyAttribute = class
    inherit Attribute
Public NotInheritable Class MimeTypePropertyAttribute
Inherits Attribute
Inheritance
MimeTypePropertyAttribute
Attributes

Constructors

MimeTypePropertyAttribute(String, String)

Creates a new instance of the MimeTypePropertyAttribute.

Properties

DataPropertyName

Gets the name of the MimeTypePropertyAttribute.

MimeTypePropertyName

Gets the Mime type of the MimeTypePropertyAttribute

Applies to