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.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ | F# |
public string ContentTypeString { get; set; }
Public Property ContentTypeString As String Get Set
public: property String^ ContentTypeString { String^ get (); void set (String^ value); }
member ContentTypeString : string with get, set
![](../icons/collapse_all.gif)
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119