Returns the read-only stream representing a content of this entity.

Namespace:  Rebex.Mime
Assembly:  Rebex.Mail (in Rebex.Mail.dll)

Syntax

Visual Basic
Public Function GetContentStream As Stream
C#
public Stream GetContentStream()

Return Value

The read-only stream representing a content of this entity.

Remarks

To set the content of this entity, use one of SetContent(String) or SetContentFromFile(String) methods.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also