Charset.GetCharset method (Encoding)
Returns an object that corresponds to the character set encoded using the associated encoding.
Namespace: Microsoft.Exchange.Data.Globalization
Assembly: Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)
Syntax
'Declaration
Public Shared Function GetCharset ( _
encoding As Encoding _
) As Charset
'Usage
Dim encoding As Encoding
Dim returnValue As Charset
returnValue = Charset.GetCharset(encoding)
public static Charset GetCharset(
Encoding encoding
)
Parameters
encoding
Type: System.Text.EncodingThe encoding type of the character set.
Return value
Type: Microsoft.Exchange.Data.Globalization.Charset
The character set corresponding to the associated encoding.