Gets or sets a flag that controls the use of UTF-8 encoding in the mail header.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property AllowUtf8Encoding As Boolean |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As MailHeader
Dim value As Boolean
instance.AllowUtf8Encoding = value
value = instance.AllowUtf8Encoding |
| C# | |
|---|
public bool AllowUtf8Encoding {get; set;} |
| Managed Extensions for C++ | |
|---|
public: __property bool get_AllowUtf8Encoding();
public: __property void set_AllowUtf8Encoding(
bool value
); |
| C++/CLI | |
|---|
public:
property bool AllowUtf8Encoding {
bool get();
void set ( bool value);
} |
Property Value
Set to true if UTF-8 should be used if the default system encoding fails. Defaults to true.
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 2.0
See Also