PowerTCP Mail for .NET
GetContentStream Method (Attachment)




Gets a FileStream or MemoryStream for reading or writing of content data.
Syntax
Public Overrides Function GetContentStream() As Stream
Dim instance As Attachment
Dim value As Stream
 
value = instance.GetContentStream()
public override Stream GetContentStream()
public: Stream* GetContentStream(); override 
public:
Stream^ GetContentStream(); override 
Remarks

Content or Resource.Content provide the source and destination of content data, based upon the value of DecodeToMemory.

If Content and Resource.Content are null, then decoding is assumed and a FileStream or MemoryStream is created for subsequent writing by the decoder, based upon the value of DecodeToMemory.

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