Gets the plain text body of the message. Null reference (Nothing in VB.NET) if the value is not known.

Namespace:  Rebex.Net
Assembly:  Rebex.Ews (in Rebex.Ews.dll)

Syntax

Visual Basic
Public Property TextBody As String
	Get
	Private Set
C#
public string TextBody { get; private set; }

Remarks

If the message contains only plain text body, both Body and TextBody properties are set to the same content. If the message contains both HTML and plain text body, HTML body is set to Body property and plain text body is set to TextBody property.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also