The ContentType type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ContentType |
Creates new content type instance.
|
Methods
| Name | Description | |
|---|---|---|
| Equals |
Compares this instance to another ContentType instance.
(Overrides Object..::..Equals(Object).) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Returns hash code for this instance.
(Overrides Object..::..GetHashCode()()()().) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Parse |
Parses specified string and creates new ContentType object.
| |
| ToString |
Returns MimeTypeName/MimeSubtypeName string.
(Overrides Object..::..ToString()()()().) |
Operators
| Name | Description | |
|---|---|---|
| Equality |
Compares two ContentType instances.
| |
| Inequality |
Compares two ContentType instances.
|
Fields
| Name | Description | |
|---|---|---|
| ApplicationIcs |
Application/Ics content type.
| |
| ApplicationMsTnef |
Application/Ms-Tnef content type.
| |
| ApplicationMsWord |
Application/MsWord content type.
| |
| ApplicationOctetStream |
application/octet-stream content type.
| |
| ApplicationPdf |
Application/Pdf content type.
| |
| ApplicationPkcs7Mime |
Application/pkcs7-mime content type.
| |
| ApplicationPkcs7Signature |
Application/pkcs7-signature content type.
| |
| ApplicationXPkcs7Mime |
Application/x-pkcs7-mime content type.
| |
| ApplicationXPkcs7Signature |
Application/x-pkcs7-signature content type.
| |
| ImageBmp |
Image/Bmp content type.
| |
| ImageGif |
Image/Gif content type.
| |
| ImageJpeg |
Image/Jpeg content type.
| |
| ImagePng |
Image/Png content type.
| |
| ImageTiff |
Image/Tiff content type.
| |
| MessageDeliveryStatus |
Message/Delivery-Status content type.
| |
| MessageDispositionNotification |
Message/disposition-notification content type.
| |
| MessageRfc822 |
Message/rfc822 content type.
| |
| MessageXDeliveryStatus |
Message/xdelivery-status content type.
| |
| MultipartAlternative |
Multipart/Alternative content type.
| |
| MultipartMixed |
Multipart/Mixed content type.
| |
| MultipartRelated |
Multipart/Related content type.
| |
| MultipartReport |
Multipart/Report content type.
| |
| MultipartSigned |
Multipart/Signed content type.
| |
| TextCalendar |
Text/Calendar content type.
| |
| TextHtml |
Text/Html content type.
| |
| TextPlain |
Text/Plain content type.
| |
| TextRfc822Headers |
Text/rfc822-headers content type.
| |
| TextXml |
Text/Xml content type.
|
Properties
| Name | Description | |
|---|---|---|
| MimeSubtype |
Subtype name of content. Always in lower case.
May be null.
| |
| MimeType |
Type name of content. Always in lower case.
May be null.
|