PowerTCP Mail for .NET
Content Property (Attachment)




A reference to the attached file. When DecodeToMemory is false, decoded attachments are stored in this file.
Syntax
Public Shadows Property Content As FileInfo
Dim instance As Attachment
Dim value As FileInfo
 
instance.Content = value
 
value = instance.Content
public new FileInfo Content {get; set;}
public: __property new FileInfo* get_Content();
public: __property new void set_Content( 
   FileInfo* value
);
public:
new property FileInfo^ Content {
   FileInfo^ get();
   void set (    FileInfo^ value);
}
Remarks
Must be null when decoding (writing to the Stream returned by Part.GetEncodingStream). DecodeToMemory can be set to true if in-memory storage is preferred over disk storage. Must be non-null to encode a file.
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