Sets the content of this view to data read from the specified stream.
Namespace:
Rebex.MailAssembly: Rebex.Mail (in Rebex.Mail.dll) Version: 1.0.4086.0
Syntax
| C# |
|---|
public void SetContent( Stream contentStream ) |
| Visual Basic (Declaration) |
|---|
Public Sub SetContent ( _ contentStream As Stream _ ) |
| Visual 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'.