TnefWriterFlush Method

Flush the writer.

Definition

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

Remarks

Writes the stream header and any buffered attributes to the output stream and then flushes the output stream.

Exceptions

ObjectDisposedException The writer has been disposed.
InvalidOperationException The stream or property writer for the previous attribute has not been disposed.
IOException An I/O error occurred.

See Also