Поделиться через


MimeTypePropertyAttribute Класс

Определение

Этот атрибут указывает другое свойство того же типа, которое содержит тип MIME, который следует использовать для данных, содержащихся в свойстве, к которому применяется этот атрибут.

[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
Наследование
MimeTypePropertyAttribute
Атрибуты

Конструкторы

MimeTypePropertyAttribute(String, String)

Создает новый экземпляр MimeTypePropertyAttribute.

Свойства

DataPropertyName

Возвращает имя атрибута MimeTypePropertyAttribute.

MimeTypePropertyName

Возвращает тип Mime атрибута MimeTypePropertyAttribute.

Применяется к