Returns the stream representing a content of this entity.

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

Syntax

Visual Basic
Public Function GetContentStream ( _
	writable As Boolean _
) As Stream
C#
public Stream GetContentStream(
	bool writable
)

Parameters

writable
Type: System..::..Boolean
Specifies whether to return a writable or read-only stream.

Return Value

The stream representing a content of this entity.

Remarks

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

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also