LumiSoft Mail Server User API
ContentTypeString Property
Namespaces > LumiSoft.Net.Mime > MimeEntity > ContentTypeString
Gets or sets header field "Content-Type:" value. Returns null if value isn't set. This property specifies what entity data is. This property is meant for advanced users, who needs other values what defined MediaType_enum provides. Example value: text/plain; charset="utf-8". 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 Basic | Managed C++

    public string ContentTypeString { get; set; }

    Public Property ContentTypeString As String

    public:
    String^ ContentTypeString {
    	String^ get ();
    	void set (String^ value);
    }

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