PowerTCP Mail for .NET
DecodeToMemory Property




Gets or sets a value that specifies if a MemoryStream should be used for storing decoded content instead of Content.
Syntax
Public Shared Property DecodeToMemory As Boolean
Dim value As Boolean
 
Attachment.DecodeToMemory = value
 
value = Attachment.DecodeToMemory
public static bool DecodeToMemory {get; set;}
public: __property static bool get_DecodeToMemory();
public: __property static void set_DecodeToMemory( 
   bool value
);
public:
static property bool DecodeToMemory {
   bool get();
   void set (    bool value);
}
Remarks
When set to true, GetContentStream will return a MemoryStream that is used for storing content (Content will be null).
See Also

Reference

Attachment Class
Attachment Members


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