_SharingItem.HTMLBody Property

Returns or sets a String (string in C#) representing the HTML body of the specified SharingItem. Read/write.

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

Syntax

'Declaration
Property HTMLBody As String
    Get
    Set
'Usage
Dim instance As _SharingItem
Dim value As String

value = instance.HTMLBody

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

Property Value

Type: System.String

Remarks

The HTMLBody property should be an HTML syntax string.

Setting the HTMLBody property sets the EditorType property of the item's Inspector to olEditorHTML.

Setting the HTMLBody property will always update the Body property immediately.

See Also

Reference

_SharingItem Interface

_SharingItem Members

Microsoft.Office.Interop.Outlook Namespace