Compartilhar 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
'Usage
Dim name As String
Dim returnValue As ByteEncoder

returnValue = ByteEncoder.GetDecoder(name)
public static ByteEncoder GetDecoder(
    string name
)

Parameters

  • name
    Type: System.String

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

    • Base64

    • QuotedPrintable

    • UUEncode

    • BinHex

Return value

Type: Microsoft.Exchange.Data.Mime.Encoders.ByteEncoder

Exceptions

Exception Condition
NotSupportedException

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

See also

Reference

ByteEncoder class

ByteEncoder members

Microsoft.Exchange.Data.Mime.Encoders namespace