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 _
)
public TnefWriter (
    Stream outputStream,
    short attachmentKey,
    int messageCodePage
)
public:
TnefWriter (
    Stream^ outputStream, 
    short attachmentKey, 
    int messageCodePage
)
public TnefWriter (
    Stream outputStream, 
    short attachmentKey, 
    int messageCodePage
)
public function TnefWriter (
    outputStream : Stream, 
    attachmentKey : short, 
    messageCodePage : int
)

Parameters

  • outputStream
    The Stream object to which to write.
  • attachmentKey
    The attachment key for this TnefWriter object.
  • messageCodePage
    An integer representing the code page to use when writing output to outputStream.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003