Partager via


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