다음을 통해 공유


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

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