PowerTCP Mail for .NET
GetEncoding Method




The character set name.
Gets the named encoding using System.Text.Encoding.GetEncoding(System.String) and EncodingMap, which allows invalid character sets to be mapped to valid ones.
Syntax
Public Shared Function GetEncoding( _
   ByVal name As String _
) As Encoding
Dim name As String
Dim value As Encoding
 
value = Part.GetEncoding(name)
public static Encoding GetEncoding( 
   string name
)
public: static Encoding* GetEncoding( 
   string* name
) 
public:
static Encoding^ GetEncoding( 
   String^ name
) 

Parameters

name
The character set name.

Return Value

Exceptions
ExceptionDescription
System.ArgumentExceptionThe named encoding is invalid. Use EncodingMap to substitute a replacement encoding.
See Also

Reference

Part Class
Part Members


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic