TnefPropertyWriterWritePropertyTag(TnefPropertyTag) Method

Begin a new property.

Definition

Namespace: MimeKit.Tnef
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public void WritePropertyTag(
	TnefPropertyTag tag
)

Parameters

tag  TnefPropertyTag
The property tag.

Remarks

Completes the current property (if any) and begins a new property with the specified tag. The property's values must be written next.

To write a named property, use WritePropertyTag(TnefNameId, TnefPropertyType).

Exceptions

ArgumentException

tag is a named property tag.

-or-

The type of tag cannot be written.

ObjectDisposedException The property writer has been disposed.
InvalidOperationException

The previous property does not have the required number of values.

-or-

A row has not been started in a RecipientTable attribute.

-or-

The stream or writer for the previous value has not been disposed.

See Also