BodyPartToString Method

Returns a String that represents the current BodyPart.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public override string ToString()

Return Value

String
A String that represents the current BodyPart.

Remarks

Returns a String that represents the current BodyPart.

  Note

The syntax of the string returned, while similar to IMAP's BODYSTRUCTURE syntax, is not completely compatible.

See Also