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.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public MediaType_enum ContentType { get; set; }
Public Property ContentType As MediaType_enum Get Set
public: property MediaType_enum ContentType { MediaType_enum get (); void set (MediaType_enum value); }
member ContentType : MediaType_enum with get, set
Property Value
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119