PowerTCP Mail for .NET
Clone Method (MultipartContent)




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

Return Value

A MultipartContent
Remarks
Note: Calling Dispose() on the original or cloned MultipartContent will dispose of any shallow-copied parts that the original and clone reference.
See Also

Reference

MultipartContent Class
MultipartContent Members


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