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
decodingFlags
Type: Microsoft.Exchange.Data.Mime.DecodingFlagsThe DecodingFlags enumeration that specifies the encodings to use when trying to decode incoming headers.
encoding
Type: System.Text.EncodingThe System.Text.Encoding object that specifies the encoding for incoming headers if no character set information is specified in the incoming document.