Click or drag to resize

ContentType Class

Represents content type of the message (E.g. "text/plain"). You can use static fields of this class such as: TextPlain, ApplicationPdf or ImageJpeg.
Inheritance Hierarchy
SystemObject
  Limilabs.Mail.HeadersContentType

Namespace:  Limilabs.Mail.Headers
Assembly:  Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax
[SerializableAttribute]
public class ContentType

The ContentType type exposes the following members.

Constructors
  NameDescription
Public methodContentType
Creates new content type instance.
Top
Properties
  NameDescription
Public propertyMimeSubtype
Subtype name of content.
Public propertyMimeType
Type name of content.
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodEquals(ContentType)
Determines whether the specified ContentType object is equal to the current one.
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 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 methodStatic memberParse
Parses specified string and creates new ContentType object.
Public methodToString
Returns 'mime type name'/'mime subtype name' string.
(Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Determines whether two BasicConstant objects are equal.
Public operatorStatic memberInequality
Determines whether two BasicConstant objects are not equal.
Top
Fields
  NameDescription
Public fieldStatic memberApplicationAppleDoubleHeader
Represents application/appledoubleheader content type.
Public fieldStatic memberApplicationAppleFile
Represents application/applefile content type (aka AppleSingle).
Public fieldStatic memberApplicationAppleSingle
Represents application/applesingle content type.
Public fieldStatic memberApplicationBinHex
Represents application/binhex content type.
Public fieldStatic memberApplicationGZip
Represents application/gzip content type.
Public fieldStatic memberApplicationIcs
Represents application/ics content type.
Public fieldStatic memberApplicationMacBinHex
Represents application/mac-binhex content type.
Public fieldStatic memberApplicationMacBinHex40
Represents application/mac-binhex40 content type.
Public fieldStatic memberApplicationMsTnef
Represents TNEF content type: application/Ms-Tnef.
Public fieldStatic memberApplicationMsWord
Represents application/msword content type.
Public fieldStatic memberApplicationOctetStream
Represents application/octet-stream content type.
Public fieldStatic memberApplicationPdf
Represents application/pdf content type.
Public fieldStatic memberApplicationPkcs7Mime
Represents application/pkcs7-mime content type (encrypted message, attached signature).
Public fieldStatic memberApplicationPkcs7Signature
Represents application/pkcs7-signature content type (detached signature).
Public fieldStatic memberApplicationRtf
Represents application/rtf content type.
Public fieldStatic memberApplicationVndMsExcel
Represents application/vnd.ms-excel content type.
Public fieldStatic memberApplicationVndMsPowerPoint
Represents application/vnd.ms-powerpoint content type.
Public fieldStatic memberApplicationVndMsTnef
Represents official TNEF content type: application/vnd.ms-tnef.
Public fieldStatic memberApplicationXml
Represents application/xml content type.
Public fieldStatic memberApplicationXPkcs7Mime
Represents application/x-pkcs7-mime content type (encrypted message, attached signature).
Public fieldStatic memberApplicationXPkcs7Signature
Represents application/x-pkcs7-signature content type (detached signature).
Public fieldStatic memberApplicationZip
Represents application/zip content type.
Public fieldStatic memberImageBmp
Represents image/bmp content type.
Public fieldStatic memberImageGif
Represents image/gif content type.
Public fieldStatic memberImageJpeg
Represents image/jpeg content type.
Public fieldStatic memberImagePng
Represents image/png content type.
Public fieldStatic memberImageTiff
Represents image/tiff content type.
Public fieldStatic memberMessageDeliveryStatus
Represents message/delivery-status content type.
Public fieldStatic memberMessageDispositionNotification
Represents message/disposition-notification content type.
Public fieldStatic memberMessageGlobal
Represents message/global content type.
Public fieldStatic memberMessageGlobalDeliveryStatus
Represents message/global-delivery-status content type.
Public fieldStatic memberMessageGlobalHeaders
Represents message/global-headers content type.
Public fieldStatic memberMessagePartial
Represents message/partial content type. You can use MimeMessagePartial to joined split emails.
Public fieldStatic memberMessageRfc822
Represents message/rfc822 content type.
Public fieldStatic memberMessageXDeliveryStatus
Represents message/xdelivery-status content type.
Public fieldStatic memberMultipartAlternative
Represents multipart/alternative content type.
Public fieldStatic memberMultipartAppleDouble
Represents multipart/appledouble content type.
Public fieldStatic memberMultipartMixed
Represents multipart/Mixed content type.
Public fieldStatic memberMultipartRelated
Represents multipart/related content type.
Public fieldStatic memberMultipartReport
Represents multipart/report content type.
Public fieldStatic memberMultipartSigned
Represents multipart/signed content type.
Public fieldStatic memberTextCalendar
Represents text/calendar content type.
Public fieldStatic memberTextCsv
Represents text/csv content type.
Public fieldStatic memberTextHtml
Represents text/html content type.
Public fieldStatic memberTextPlain
Represents text/plain content type.
Public fieldStatic memberTextRfc822Headers
Represents text/rfc822-headers content type.
Public fieldStatic memberTextRtf
Represents text/rtf content type.
Public fieldStatic memberTextVCard
Represents text/vcard content type.
Public fieldStatic memberTextXml
Represents text/xml content type.
Top
See Also