Class TextBody
- Namespace
- Microsoft.Exchange.WebServices.Data
- Assembly
- Microsoft.Exchange.WebServices.dll
Represents the body of a message.
public sealed class TextBody : MessageBody
- Inheritance
-
TextBody
- Inherited Members
Constructors
TextBody()
Initializes a new instance of the TextBody class.
public TextBody()
TextBody(string)
Initializes a new instance of the TextBody class.
public TextBody(string text)
Parameters
text
stringThe text of the message body.
Operators
implicit operator TextBody(string)
Defines an implicit conversation between a string and TextBody.
public static implicit operator TextBody(string textBody)
Parameters
textBody
stringThe string to convert to TextBody, assumed to be HTML.
Returns
- TextBody
A TextBody initialized with the specified string.