Mime4.net Home | Community Edition | Order | Usage examples | Feedback
ContentTypeField ClassMIME4NET Class Library Documentation
Represents a Content-Type field.
Inheritance Hierarchy

System Object
  NI.Email.Mime.Field MimeField
    NI.Email.Mime.Field ContentTypeField

Namespace: NI.Email.Mime.Field
Assembly: NI.Email.Mime (in NI.Email.Mime.dll) Version: 1.8.5168.22709
Syntax

public class ContentTypeField : MimeField

The ContentTypeField type exposes the following members.

Methods

  NameDescription
Public methodAddParameter
Public methodChangeParameter
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from 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 methodStatic memberGenerateBoundary
Public methodStatic memberGetCharset
Gets the value of the charset parameter if set for the given field. Returns the default us-ascii if not set or if f is null.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetMimeType
Gets the MIME type defined in the child's Content-Type field or derives a MIME type from the parent if child is null or hasn't got a MIME type value set. If child's MIME type is multipart but no boundary has been set the MIME type of child will be derived from the parent.
Public methodGetParameter
Gets the value of a parameter. Parameter names are case-insensitive.
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodIsMimeType
Determines if the MIME type of this field matches the given one.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberParse(String, String, IDictionary)
Public methodStatic memberParse(String, String, IDictionary, Boolean)
Protected methodParseBody (Overrides MimeField ParseBody(String).)
Public methodRemoveParameter
Public methodToString (Overrides MimeField ToString .)
Top
Fields

  NameDescription
Protected fieldbody (Inherited from MimeField.)
Protected fieldname (Inherited from MimeField.)
Public fieldStatic memberParamBoundary
The name of the boundary parameter.
Public fieldStatic memberParamCharset
The name of the charset parameter.
Protected fieldraw (Inherited from MimeField.)
Public fieldStatic memberTypeMessageRFC822
The message/rfc822 MIME type.
Public fieldStatic memberTypeMultipartAlternative
The multipart/alternative MIME type.
Public fieldStatic memberTypeMultipartDigest
The multipart/digest MIME type.
Public fieldStatic memberTypeMultipartMixed
The multipart/mixed MIME type.
Public fieldStatic memberTypeMultipartPrefix
The prefix of all multipart MIME types.
Public fieldStatic memberTypeTextHtml
The text/html MIME type.
Public fieldStatic memberTypeTextPlain
The text/plain MIME type.
Top
Properties

  NameDescription
Public propertyBody
Gets the unfolded, unparsed and possibly encoded (see RFC 2047) field body string.
(Inherited from MimeField.)
Public propertyBoundary
Gets the value of the boundary parameter if set.
Public propertyCharset
Gets the value of the charset parameter if set.
Public propertyIsContentType
Determines if this is a Content-Type field.
(Inherited from MimeField.)
Public propertyIsFrom
Determines if this is a From field.
(Inherited from MimeField.)
Public propertyIsMultipart
Determines if the MIME type of this field is multipart/*.
Public propertyIsSubject
Determines if this is a Subject field.
(Inherited from MimeField.)
Public propertyIsTo
Determines if this is a To field.
(Inherited from MimeField.)
Public propertyMainValue
Public propertyMimeType
Gets the MIME type defined in this Content-Type field.
Public propertyName
Gets the name of the field (Subject, From, etc).
(Inherited from MimeField.)
Public propertyParameters
Gets all parameters.
Public propertyParseException
Gets the exception that was raised during parsing of the field value, if any; otherwise, null.
Public propertyRaw
Gets the original raw field string.
(Inherited from MimeField.)
Top
See Also