TextBody Class

Definition

Contains the body of a message. The TextBody class is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

public ref class TextBody sealed : Microsoft::Exchange::WebServices::Data::MessageBody
public sealed class TextBody : Microsoft.Exchange.WebServices.Data.MessageBody
Public NotInheritable Class TextBody
Inherits MessageBody
Inheritance

Constructors

TextBody()

Initializes a new instance of the TextBody class. The TextBody() constructor is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

TextBody(String)

Initializes a new instance of the TextBody class with text equal to the passed-in value. The TextBody(String) constructor is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Properties

BodyType

Gets or sets the message body type.

(Inherited from MessageBody)
Text

Gets or sets the message body text.

(Inherited from MessageBody)

Methods

ToString()

Returns a string that represents the current message body object.

(Inherited from MessageBody)

Operators

Implicit(String to TextBody)

Defines an implicit conversion between a string and the body of a message. The Implicit(String to TextBody) operator is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Applies to