ContentType Class
Namespace: Rebex.Mime.Headers
Assembly: Rebex.Mail.dll (version 7.0.9147)
Represents the content type of a MIME entity.
Syntax
public class ContentType : IHeader
Implements
Inherited Members
Remarks
Represents the Content-Type
MIME header defined by RFC 2045.
Constructors
Name | Description |
---|---|
Content |
Initializes a new instance of Content |
Properties
Name | Description |
---|---|
Boundary | Gets or sets the 'boundary' parameter of this content type. |
Char |
Gets or sets the 'charset' parameter of this content type. |
Encoding | Gets the 'charset' of this content type to Encoding. |
Media |
Gets the internet media type in the format of 'type/subtype'. |
Parameters | Gets the list of parameters of this content type. |
Methods
Name | Description |
---|---|
Clone() | Creates a copy of the header. |
Encode(Text |
Writes an encoded header value into a Text |
Equals(Object) | Determines whether the specified Content |
Get |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
To |
Converts the value of this header to its String representation. |