PowerTCP Mail for .NET
Text Property (Multipart)




Gets or sets the plain text body.
Syntax
Public Property Text As String
Dim instance As Multipart
Dim value As String
 
instance.Text = value
 
value = instance.Text
public string Text {get; set;}
public: __property string* get_Text();
public: __property void set_Text( 
   string* value
);
public:
property String^ Text {
   String^ get();
   void set (    String^ value);
}

Property Value

A string representing the plain text.
Remarks

When read and no "text/plain" part is found, an empty string is returned. Parts are searched "depth before breadth".

When set to a non-empty string and no part is found, a new Textpart is created and added to Parts. If set to null or an empty string and a "text/plain" part is found, the part is removed.

See Also

Reference

Multipart Class
Multipart Members


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