MimeTypeAttribute(String) Constructor
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.
Initializes a new instance of MimeTypeAttribute.
public:
MimeTypeAttribute(System::String ^ name);
public MimeTypeAttribute (string name);
new Microsoft.VisualStudio.Utilities.MimeTypeAttribute : string -> Microsoft.VisualStudio.Utilities.MimeTypeAttribute
Public Sub New (name As String)
Parameters
- name
- String
The Mime type to be associated with the content type.
Exceptions
name
is null or an empty string.