Click or drag to resize
MimeKit

MimeEntityToString Method

Returns a String that represents the current MimeEntity.

Namespace:  MimeKit
Assembly:  MimeKit (in MimeKit.dll) Version: 2.2.0
Syntax
C#
public override string ToString()

Return Value

Type: String
A String that represents the current MimeEntity.
Remarks

Returns a String that represents the current MimeEntity.

Caution note Caution
In general, the string returned from this method SHOULD NOT be used for serializing the message to disk. It is recommended that you use WriteTo(Stream, CancellationToken) instead.
See Also