_MailItem.BodyFormat _MailItem.BodyFormat _MailItem.BodyFormat Property

Definition

Returns or sets an OlBodyFormat constant indicating the format of the body text. Read/write.

public:
 property Microsoft::Office::Interop::Outlook::OlBodyFormat BodyFormat { Microsoft::Office::Interop::Outlook::OlBodyFormat get(); void set(Microsoft::Office::Interop::Outlook::OlBodyFormat value); };
public Microsoft.Office.Interop.Outlook.OlBodyFormat BodyFormat { get; set; }
Public Property BodyFormat As OlBodyFormat

Property Value

Remarks

The body text format determines the standard used to display the text of the message. Microsoft Outlook provides three body text format options: Plain Text, Rich Text (RTF), and HTML.

All text formatting will be lost when the BodyFormat property is switched from RTF to HTML and vice-versa.

Applies to