MimeTypeAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |