_MailItem.BodyFormat プロパティ

定義

本文テキストの形式を OlBodyFormat 示す定数を設定または返します。 読み取り/書き込みが可能です。

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

プロパティ値

注釈

本文テキストの形式は、メッセージのテキストを表示するために使用される標準形式を決定します。 Microsoft Outlook には 3 つの本文テキスト形式のオプションがあります (テキスト形式、リッチ テキスト形式 (RTF)、および HTML)。

BodyFormat プロパティが RTF から HTML、または HTML から RTF に切り替えられると、すべてのテキストの書式設定は失われます。

適用対象