Sets the content of this entity to the specified text and media type.

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

Syntax

Visual Basic
Public Sub SetContent ( _
	text As String, _
	mediaType As String _
)
C#
public void SetContent(
	string text,
	string mediaType
)

Parameters

text
Type: System..::..String
Content to set.
mediaType
Type: System..::..String
Media type.

Remarks

Character set and transfer encoding are determined automatically.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also