Partager via


TnefWriter Constructor (Stream, Int16, Int32)

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 _
)
'Usage
Dim outputStream As Stream
Dim attachmentKey As Short
Dim messageCodePage As Integer

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

Parameters

  • messageCodePage
    Type: System.Int32
    An integer representing the code page to use when writing output to outputStream.