TnefWriter.WriteProperty method (TnefPropertyTag, DateTime)
The WriteProperty method writes a property identified by the tag parameter with the DateTime 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 DateTime _
)
'Usage
Dim instance As TnefWriter
Dim tag As TnefPropertyTag
Dim value As DateTime
instance.WriteProperty(tag, value)
public void WriteProperty(
TnefPropertyTag tag,
DateTime value
)
Parameters
tag
Type: Microsoft.Exchange.Data.ContentTypes.Tnef.TnefPropertyTagA TnefPropertyTag enumeration value specifying the property to write.
value
Type: System.DateTimeA DateTime object containing the value to write to this property value.