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
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.