Udostępnij przez


MailMessage.BodyFormat Właściwość

Definicja

Pobiera lub ustawia typ zawartości treści wiadomości e-mail. Zalecana alternatywa: System.Net.Mail.

public:
 property System::Web::Mail::MailFormat BodyFormat { System::Web::Mail::MailFormat get(); void set(System::Web::Mail::MailFormat value); };
public System.Web.Mail.MailFormat BodyFormat { get; set; }
member this.BodyFormat : System.Web.Mail.MailFormat with get, set
Public Property BodyFormat As MailFormat

Wartość właściwości

MailFormat Jedna z wartości.

Przykłady

MailMessage MyMessage = new MailMessage();
MyMessage.BodyFormat = MailFormat.Html;
Dim MyMessage As MailMessage = New MailMessage()
MyMessage.BodyFormat = MailFormat.Html

Dotyczy