TnefWriter.WriteProperty Method (TnefPropertyTag, Stream)

The WriteProperty method writes a property identified by the tag parameter with the value contained in the value parameter.

Namespace:  Microsoft.Exchange.Data.ContentTypes.Tnef
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Sub WriteProperty ( _
    tag As TnefPropertyTag, _
    stream As Stream _
)
'Usage
Dim instance As TnefWriter
Dim tag As TnefPropertyTag
Dim stream As Stream

instance.WriteProperty(tag, stream)
public void WriteProperty(
    TnefPropertyTag tag,
    Stream stream
)

Parameters

  • stream
    Type: System.IO.Stream
    A stream containing the property value to write to this property.