PowerTCP Mail for .NET
GetContentStream Method (Messagepart)




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

Content provides the source and destination of content data.

If Content is null, then decoding is assumed and a new MailMessage is created by the decoder and populated when Stream.Write is used.

If Content is not null, then encoding is assumed and Content is encoded when Stream.Read is used.

See Also

Reference

Messagepart Class
Messagepart Members


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