AttachmentType.ContentType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The ContentType property gets or sets a value that describes the Multipurpose Internet Mail Extensions (MIME) type of the attachment content.
public:
property System::String ^ ContentType { System::String ^ get(); void set(System::String ^ value); };
public string ContentType { get; set; }
Public Property ContentType As String
Property Value
The ContentType property returns a string value that represents the content type of the attachment.
Remarks
The following are some examples of strings that you can set on this property:
- text/plain
- text/xml
- application/octet-stream
- multipart/mixed
- image/jpeg
Note: This is not an exclusive list.