ContentType Class

Represents a Content-Type header.
Inheritance Hierarchy

Namespace:  Aspose.Email.Mime
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
public class ContentType

The ContentType type exposes the following members.

Public methodContentType
Initializes a new instance of the ContentType class.
Public methodContentType(String)
Initializes a new instance of the ContentType class.
Public propertyBoundary
Gets or sets the value of the boundary parameter included in the Content-Type header.
Public propertyCharSet
Gets or sets the value of the charset parameter.
Public propertyMediaType
Gets or sets the internet media type.
Public propertyName
Gets or sets the value of the name parameter.
Public propertyParameters
Gets the dictionary that contains the parameters.
Public methodEquals
Determines whether the specified Object is equal to this instance.
(Overrides ObjectEquals(Object).)
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 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 this instance.
(Overrides ObjectToString.)
See Also