MimeType Class
Represents an Internet Media Types
Inheritance Hierarchy
SystemObject
  Aspose.HtmlMimeType

Namespace: Aspose.Html
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.9
Syntax
public class MimeType : IEquatable<MimeType>

The MimeType type exposes the following members.

Constructors
  NameDescription
Public methodMimeType
Initializes a new instance of MIME type based on serialized string value.
Properties
  NameDescription
Public propertySubType
Gets the sub media type.
Public propertyType
Gets the media type.
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Overrides ObjectEquals(Object).)
Public methodEquals(MimeType)
Indicates whether the current object is equal to another object of the same type.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFromFileExtension
Creates a new MIME type based on file extension.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents Mime type.
(Overrides ObjectToString.)
Operators
  NameDescription
Public operatorStatic memberEquality
Compares two Mime type and returns a boolean indicating if the two do match.
Public operatorStatic member(String to MimeType)
Performs an implicit conversion from String to MimeType.
Public operatorStatic member(MimeType to String)
Performs an implicit conversion from MimeType to String.
Public operatorStatic memberInequality
Compares two Mime type and returns a boolean indicating if the two do match.
See Also