MimeType class

MimeType class

Represents an Internet Media Types

The MimeType type exposes the following members:

Constructors

ConstructorDescription
initInitializes a new instance of MIME type based on serialized string value.

Properties

PropertyDescription
typeGets the media type.
sub_typeGets the sub media type.

Methods

MethodDescription
equalsIndicates whether the current object is equal to another object of the same type.
from_file_extensionCreates a new MIME type based on file extension.

See Also