Sets the content of this view to data read from the specified stream and sets media type.
Namespace:
Rebex.Mail
Assembly:
Rebex.Mail (in Rebex.Mail.dll)
Syntax
Visual Basic |
---|
Public Sub SetContent ( _ contentStream As Stream, _ mediaType As String _ ) |
C# |
---|
public void SetContent( Stream contentStream, string mediaType ) |
Parameters
- contentStream
- Type: System.IO..::..Stream
Stream from which the data will be read.
- mediaType
- Type: System..::..String
Media type.