_MailItem.Body Property

Returns or sets a String (string in C#) representing the clear-text body of the Outlook item. Read/write.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
Property Body As String
    Get
    Set
'Usage
Dim instance As _MailItem
Dim value As String

value = instance.Body

instance.Body = value
string Body { get; set; }

Property Value

Type: System.String

Remarks

The _MailItem.BodyFormat property allows you to programmatically change the editor that is used for the body of an item.

See Also

Reference

_MailItem Interface

_MailItem Members

Microsoft.Office.Interop.Outlook Namespace