Partager via


_StorageItem.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
<DispIdAttribute()> _
Property Body As String
    Get
    Set
'Usage
Dim instance As _StorageItem
Dim value As String

value = instance.Body

instance.Body = value
[DispIdAttribute()]
string Body { get; set; }

Property Value

Type: System.String

Remarks

StorageItem objects only support the item body in text format. They do not support HTML or RTF body streams.

See Also

Reference

_StorageItem Interface

_StorageItem Members

Microsoft.Office.Interop.Outlook Namespace