TnefWriter.WriteProperty Method (TnefPropertyTag, Byte[])

The WriteProperty method writes a property identified by the tag parameter with the raw value specified by 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, _
    value As Byte() _
)
public void WriteProperty (
    TnefPropertyTag tag,
    byte[] value
)
public:
void WriteProperty (
    TnefPropertyTag tag, 
    array<unsigned char>^ value
)
public void WriteProperty (
    TnefPropertyTag tag, 
    byte[] value
)
public function WriteProperty (
    tag : TnefPropertyTag, 
    value : byte[]
)

Parameters

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

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