Click or drag to resize

MimeType Class

Represents content's type (RFC 2045).
Inheritance Hierarchy

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

The MimeType type exposes the following members.

Constructors
  NameDescription
Public methodMimeType
Creates new MimeType instance.
Top
Properties
  NameDescription
Public propertyName
Gets the name of the constant.
(Inherited from BasicConstant.)
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Inherited from BasicConstant.)
Public methodEquals(BasicConstant)
Determines whether the specified BasicConstant object is equal to the current one. Names are compared case insensitive.
(Inherited from BasicConstant.)
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
Serves as a hash function for a particular type.
(Inherited from BasicConstant.)
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 methodToString
Returns the Name of this object.
(Inherited from BasicConstant.)
Top
Fields
  NameDescription
Public fieldStatic memberApplication
'application/?' type.
Public fieldStatic memberAudio
'audio/?' type.
Public fieldStatic memberImage
'image/?' type.
Public fieldStatic memberMessage
'message/?' type.
Public fieldStatic memberModel
'model/?' type.
Public fieldStatic memberMultipart
'multipart/?' type.
Public fieldStatic memberText
'text/?' type.
Public fieldStatic memberVideo
'video/?' type.
Top
Remarks
Consider using static fields of ContentType class, such as: TextPlain, ApplicationPdf or ImageJpeg.
See Also