PowerTCP Mail for .NET
Clone Method (Multipart)




Creates a deep copy of the Multipart, but deep/shallow copies of its Parts. Attachments and Resources are shallow copies, Textparts and Htmlparts are deep copies.
Syntax
Public Overrides Function Clone() As Object
Dim instance As Multipart
Dim value As Object
 
value = instance.Clone()
public override object Clone()
public: Object* Clone(); override 
public:
Object^ Clone(); override 

Return Value

A Multipart
Remarks
Note: Calling Dispose() on the original or cloned Multipart will dispose of any shallow-copied parts that the original and clone reference.
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