TextBody.Implicit(String to TextBody) Operator

Definition

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.

public:
 static operator Microsoft::Exchange::WebServices::Data::TextBody ^(System::String ^ textBody);
public static implicit operator Microsoft.Exchange.WebServices.Data.TextBody (string textBody);

Parameters

textBody
String

The string to convert to a TextBody object. The source string is assumed to be in HTML format.

Returns

A TextBody initialized with the specified string.

Applies to