ContentTypeAttribute(string) Constructor

ContentTypeAttribute(string) Constructor

Specifies the Content-Type HTTP header value for the response of the page. If this attribute is omitted, "text/html" is set as the content type by default.

public ContentTypeAttribute(string contentType);

Parameters

contentType string
The HTTP Content-Type value.