Partager via


ItemResponseShapeType.BodyType Property

The BodyType property gets or sets the requested body text format for the Body property that is returned in a response.

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)

Syntax

'Declaration
Public Property BodyType As BodyTypeResponseType
    Get
    Set
'Usage
Dim instance As ItemResponseShapeType
Dim value As BodyTypeResponseType

value = instance.BodyType

instance.BodyType = value
public BodyTypeResponseType BodyType { get; set; }

Property Value

Type: ExchangeWebServices.BodyTypeResponseType
The BodyType property is set with a BodyTypeResponseType enumeration. The possible BodyTypeResponseType values are Best, HTML, or Text.

Remarks

You must set the BodyTypeSpecified property to true so that the BodyType property is serialized into the SOAP request.