MessageBody.Implicit Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Implicit(MessageBody to String) |
Defines an implicit conversion of a message body into a string. |
Implicit(String to MessageBody) |
Defines an implicit conversion of a string to a message body. |
Implicit(MessageBody to String)
Defines an implicit conversion of a message body into a string.
public:
static operator System::String ^(Microsoft::Exchange::WebServices::Data::MessageBody ^ messageBody);
public static implicit operator string (Microsoft.Exchange.WebServices.Data.MessageBody messageBody);
Parameters
- messageBody
- MessageBody
The message body to convert to a string.
Returns
A string that contains the text of the message body.
Applies to
Implicit(String to MessageBody)
Defines an implicit conversion of a string to a message body.
public:
static operator Microsoft::Exchange::WebServices::Data::MessageBody ^(System::String ^ textBody);
public static implicit operator Microsoft.Exchange.WebServices.Data.MessageBody (string textBody);
Public Shared Widening Operator CType (textBody As String) As MessageBody
Parameters
- textBody
- String
The string to convert to a message body.
Returns
A message body initialized with the specified string.