Share via


MimeTypeAttribute(String) Constructor

Definition

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

nameis null or an empty string.

Applies to