TextBody TextBody 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() TextBody() 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) TextBody(String) 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.

Operators

Implicit(String to TextBody) Implicit(String to TextBody) 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.

Properties

BodyType BodyType BodyType

Gets or sets the message body type.

(Inherited from MessageBody)
Text Text Text

Gets or sets the message body text.

(Inherited from MessageBody)

Methods

ToString() ToString() ToString()

Returns a string that represents the current message body object.

(Inherited from MessageBody)

Applies to