PowerTCP Mail for .NET
Utf8Encoded Property
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > MessageStream Class : Utf8Encoded Property




Indicates whether UTF-8 encoding is employed in the message.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Utf8Encoded As Boolean
Visual Basic (Usage)Copy Code
Dim instance As MessageStream
Dim value As Boolean
 
value = instance.Utf8Encoded
C# 
public bool Utf8Encoded {get;}
Managed Extensions for C++ 
public: __property bool get_Utf8Encoded();
C++/CLI 
public:
property bool Utf8Encoded {
   bool get();
}

Property Value

This property returns true if any UTF-8 encoding is used in the message.

Remarks

UTF-8 encoding may be present for the following reasons:

  • MessageStream.Header.Utf8Encoded is true.
  • The message contains a part with UTF-8 encoding.

UTF-8 encoding may not be desirable in some circumstances, so this property is a convenient way to discover if UTF-8 is being used.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 3.2
© 2010 Dart Communications. All Rights Reserved.