TnefWriter Constructor (Stream, Int16)
The TnefWriter constructor creates a new TnefWriter object with an attachment key specified by the attachmentKey parameter for output to the Stream parameter outputStream.
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 _
)
'Usage
Dim outputStream As Stream
Dim attachmentKey As Short
Dim instance As New TnefWriter(outputStream, _
attachmentKey)
public TnefWriter(
Stream outputStream,
short attachmentKey
)
Parameters
- outputStream
Type: System.IO.Stream
The Stream object to which to write.
- attachmentKey
Type: System.Int16
The attachment key for this TnefWriter object.