MailMessage.IsBodyHtml 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個值,指示郵件訊息內容是否為 HTML。
public:
property bool IsBodyHtml { bool get(); void set(bool value); };
public bool IsBodyHtml { get; set; }
member this.IsBodyHtml : bool with get, set
Public Property IsBodyHtml As Boolean
屬性值
true 如果訊息主體是 HTML 格式;其他 false。 預設值為 false。