Share via


TnefWriter constructor (Stream, Int16, Int32, TnefWriterFlags)

The TnefWriter constructor creates a new TnefWriter object.

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

Syntax

'Declaration
Public Sub New ( _
    outputStream As Stream, _
    attachmentKey As Short, _
    messageCodePage As Integer, _
    flags As TnefWriterFlags _
)
'Usage
Dim outputStream As Stream
Dim attachmentKey As Short
Dim messageCodePage As Integer
Dim flags As TnefWriterFlags

Dim instance As New TnefWriter(outputStream, _
    attachmentKey, messageCodePage, _
    flags)
public TnefWriter(
    Stream outputStream,
    short attachmentKey,
    int messageCodePage,
    TnefWriterFlags flags
)

Parameters

  • messageCodePage
    Type: System.Int32

    An integer representing the code page to use when writing output to outputStream.

See also

Reference

TnefWriter class

TnefWriter members

TnefWriter overload

Microsoft.Exchange.Data.ContentTypes.Tnef namespace