MimeTypeAttribute Class

Definition

Declares an association between an extension part and a particular content type.

public ref class MimeTypeAttribute sealed : Microsoft::VisualStudio::Utilities::SingletonBaseMetadataAttribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=false)]
[System.ComponentModel.Composition.MetadataAttribute]
public sealed class MimeTypeAttribute : Microsoft.VisualStudio.Utilities.SingletonBaseMetadataAttribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=false)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
type MimeTypeAttribute = class
    inherit SingletonBaseMetadataAttribute
Public NotInheritable Class MimeTypeAttribute
Inherits SingletonBaseMetadataAttribute
Inheritance
Attributes

Constructors

MimeTypeAttribute(String)

Initializes a new instance of MimeTypeAttribute.

Properties

MimeType

The MimeType for the content type definition

Applies to