ContentType Class
Namespace: Rebex.Mime.Headers
Assembly: Rebex.Mail.dll (version 7.0.9119)
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 |
---|---|
ContentType(String) | Initializes a new instance of ContentType header value with the specified media type. |
Properties
Name | Description |
---|---|
Boundary | Gets or sets the 'boundary' parameter of this content type. |
CharSet | Gets or sets the 'charset' parameter of this content type. |
Encoding | Gets the 'charset' of this content type to Encoding. |
MediaType | 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(TextWriter) | Writes an encoded header value into a TextWriter. |
Equals(Object) | Determines whether the specified ContentType is equal to the current ContentType. |
GetHashCode() | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
ToString() | Converts the value of this header to its String representation. |