Partager via


MimeTypePropertyAttribute Classe

Définition

Cet attribut indique une autre propriété dans le même type qui contient le type MIME qui doit être utilisé pour les données contenues dans la propriété à laquelle cet attribut est appliqué.

[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
Héritage
MimeTypePropertyAttribute
Attributs

Constructeurs

MimeTypePropertyAttribute(String, String)

Crée une nouvelle instance de MimeTypePropertyAttribute.

Propriétés

DataPropertyName

Obtient le nom de MimeTypePropertyAttribute.

MimeTypePropertyName

Obtient le type MIME de MimeTypePropertyAttribute

S’applique à