MimeWriter Constructor (Stream, Boolean, EncodingOptions)
The MimeWriter constructor creates a new MimeWriter object.
Namespace: Microsoft.Exchange.Data.Mime
Assembly: Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)
Syntax
'Declaration
Public Sub New ( _
data As Stream, _
forceMime As Boolean, _
encodingOptions As EncodingOptions _
)
'Usage
Dim data As Stream
Dim forceMime As Boolean
Dim encodingOptions As EncodingOptions
Dim instance As New MimeWriter(data, forceMime, _
encodingOptions)
public MimeWriter(
Stream data,
bool forceMime,
EncodingOptions encodingOptions
)
Parameters
- data
Type: System.IO.Stream
A stream into which MIME data will be written.
- forceMime
Type: System.Boolean
Set to true to force writing of the Mime-Version tag.
- encodingOptions
Type: Microsoft.Exchange.Data.Mime.EncodingOptions
A EncodingOptions class controlling how the MIME data is encoded as it is written.