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
tag
Type: Microsoft.Exchange.Data.ContentTypes.Tnef.TnefPropertyTagA TnefPropertyTag enumeration value specifying the property to write.
stream
Type: System.IO.StreamA stream containing the property value to write to this property.