Sets the content of this view to data read from the specified stream.
Namespace:
Rebex.Mail
Assembly:
Rebex.Mail (in Rebex.Mail.dll)
Syntax
Visual Basic |
---|
Public Sub SetContent ( _ contentStream As Stream _ ) |
C# |
---|
public void SetContent( Stream contentStream ) |
Parameters
- contentStream
- Type: System.IO..::..Stream
Stream from which the data will be read.
Remarks
Media type is set to 'text/plain'.