MailMessage.BodyEncoding 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.
Gets or sets the encoding type of the body of the email message. Recommended alternative: System.Net.Mail.
public:
property System::Text::Encoding ^ BodyEncoding { System::Text::Encoding ^ get(); void set(System::Text::Encoding ^ value); };
public System.Text.Encoding BodyEncoding { get; set; }
member this.BodyEncoding : System.Text.Encoding with get, set
Public Property BodyEncoding As Encoding
Property Value
One of the Encoding values that indicates the encoding type of the body of the email message.
Examples
MailMessage MyMessage = new MailMessage();
MyMessage.BodyEncoding = Encoding.ASCII;
Dim MyMessage As MailMessage = New MailMessage()
MyMessage.BodyEncoding = Encoding.ASCII
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.