Dart.Mail Namespace > Part Class : ContentType Property |
Public Property ContentType As ContentType
Dim instance As Part Dim value As ContentType instance.ContentType = value value = instance.ContentType
public ContentType ContentType {get; set;}
public: __property ContentType* get_ContentType(); public: __property void set_ContentType( ContentType* value );
public: property ContentType^ ContentType { ContentType^ get(); void set ( ContentType^ value); }
The "Content-Type" header field informs us of the type of data contained within the MIME part. For example, if ContentType.MediaType is "text/plain", during decoding we create a Textpart with Content exposing the decoded content as a string.
A null value indicates this header field is not present.