MessageBody.Implicit 操作员
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Implicit(MessageBody to String) |
定义消息正文到字符串的隐式转换。 |
Implicit(String to MessageBody) |
定义字符串到消息正文的隐式转换。 |
Implicit(MessageBody to String)
定义消息正文到字符串的隐式转换。
public:
static operator System::String ^(Microsoft::Exchange::WebServices::Data::MessageBody ^ messageBody);
public static implicit operator string (Microsoft.Exchange.WebServices.Data.MessageBody messageBody);
参数
- messageBody
- MessageBody
要转换为字符串的消息正文。
返回
一个包含消息正文文本的字符串。
适用于
Implicit(String to MessageBody)
定义字符串到消息正文的隐式转换。
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
参数
- textBody
- String
要转换为消息正文的字符串。
返回
使用指定字符串初始化的消息正文。