PowerTCP Mail for .NET
ToString(Boolean,MailMessage) Method




true if part headers should be included. Otherwise only the content body is returned.
The base MailMessage that is used to compute the part level for the returned String. Can be null.
Returns a decoded representation of all the Parts (including headers) that is suitable for display.
Syntax
Public Overloads Function ToString( _
   ByVal includeHeaders As Boolean, _
   ByVal baseMessage As MailMessage _
) As String
Dim instance As MultipartContent
Dim includeHeaders As Boolean
Dim baseMessage As MailMessage
Dim value As String
 
value = instance.ToString(includeHeaders, baseMessage)
public string ToString( 
   bool includeHeaders,
   MailMessage baseMessage
)
public: string* ToString( 
   bool includeHeaders,
   MailMessage* baseMessage
) 
public:
String^ ToString( 
   bool includeHeaders,
   MailMessage^ baseMessage
) 

Parameters

includeHeaders
true if part headers should be included. Otherwise only the content body is returned.
baseMessage
The base MailMessage that is used to compute the part level for the returned String. Can be null.
See Also

Reference

MultipartContent Class
MultipartContent Members
Overload List


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic