Partager via


TnefWriter.WriteProperty Method (TnefPropertyTag, String)

The WriteProperty method writes a property identified by the tag parameter with the 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 String _
)
'Usage
Dim instance As TnefWriter
Dim tag As TnefPropertyTag
Dim value As String

instance.WriteProperty(tag, value)
public void WriteProperty(
    TnefPropertyTag tag,
    string value
)

Parameters

  • value
    Type: System.String
    A string containing the property value to write to this property.