Compartilhar via


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 _
)
public void WriteProperty (
    TnefPropertyTag tag,
    Stream stream
)
public:
void WriteProperty (
    TnefPropertyTag tag, 
    Stream^ stream
)
public void WriteProperty (
    TnefPropertyTag tag, 
    Stream stream
)
public function WriteProperty (
    tag : TnefPropertyTag, 
    stream : Stream
)

Parameters

  • tag
    A TnefPropertyTag enumeration value specifying the property to write.
  • stream
    A stream containing the property value to write to this property.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003