Share via


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

Return value

Type: Microsoft.Exchange.Data.Globalization.Charset
The character set corresponding to the associated encoding.

See also

Reference

Charset class

Charset members

GetCharset overload

Microsoft.Exchange.Data.Globalization namespace