다음을 통해 공유


SPEmailMessage.HtmlBody property

Gets the body of the e-mail message in HTML format.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property HtmlBody As String
    Get
'Usage
Dim instance As SPEmailMessage
Dim value As String

value = instance.HtmlBody
public string HtmlBody { get; }

Property value

Type: System.String
A string that contains the HTML-formatted body of the message.

Remarks

For a message that contains only plain text, the HtmlBody property returns an HTML-encoded version of the plain-text body.

See also

Reference

SPEmailMessage class

SPEmailMessage members

Microsoft.SharePoint.Utilities namespace