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
outputStream
Type: System.IO.StreamThe Stream object to which to write.
attachmentKey
Type: System.Int16The attachment key for this TnefWriter object.
messageCodePage
Type: System.Int32An integer representing the code page to use when writing output to outputStream.
flags
Type: Microsoft.Exchange.Data.ContentTypes.Tnef.TnefWriterFlagsA TnefWriterFlags enumeration value.