Compartir a través de


DecodingOptions Constructor (DecodingFlags, Encoding)

The DecodingOptions constructor creates a new DecodingOptions structure that has the DecodingFlags specified by decodingFlags and the encoding specified by encoding.

Namespace:  Microsoft.Exchange.Data.Mime
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Sub New ( _
    decodingFlags As DecodingFlags, _
    encoding As Encoding _
)
'Usage
Dim decodingFlags As DecodingFlags
Dim encoding As Encoding

Dim instance As New DecodingOptions(decodingFlags, _
    encoding)
public DecodingOptions(
    DecodingFlags decodingFlags,
    Encoding encoding
)

Parameters

  • encoding
    Type: System.Text.Encoding
    The System.Text.Encoding object that specifies the encoding for incoming headers if no character set information is specified in the incoming document.