LumiSoft Mail Server User API
ContentType Property
Namespaces > LumiSoft.Net.Mime > MimeEntity > ContentType
Gets or sets header field "Content-Type:" value. This property specifies what entity data is. NOTE: ContentType can't be changed while there is data specified(Exception is thrown) in this mime entity, because it isn't possible todo data conversion between different types. For example text/xx has charset parameter and other types don't, changing loses it and text data becomes useless.
Syntax
C#Visual BasicManaged C++
public MediaType_enum ContentType { get; set; }
Public Property ContentType As MediaType_enum
public:
MediaType_enum ContentType {
	MediaType_enum get ();
	void set (MediaType_enum value);
}

Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)