Partager via


ByteEncoder.GetDecoder Method

The GetDecoder method returns a ByteEncoder that decodes data encoded with the encoding specified by the name parameter.

Namespace: Microsoft.Exchange.Data.Mime.Encoders
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)

Syntax

'Declaration
Public Shared Function GetDecoder ( _
    name As String _
) As ByteEncoder
public static ByteEncoder GetDecoder (
    string name
)
public:
static ByteEncoder^ GetDecoder (
    String^ name
)
public static ByteEncoder GetDecoder (
    String name
)
public static function GetDecoder (
    name : String
) : ByteEncoder

Parameters

  • name
    The type of data the returned decoder will decode. Possible values are:

    • Base64

    • QuotedPrintable

    • UUEncode

    • BinHex

Exceptions

Exception type Condition
NotSupportedException

The name parameter was not one of "Base64," "QuotedPrintable," "UUEncode," or "BinHex."

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003