다음을 통해 공유


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
public BodyTypeResponseType BodyType { get; set; }
public:
property BodyTypeResponseType BodyType {
    BodyTypeResponseType get ();
    void set (BodyTypeResponseType value);
}
/** @property */
public BodyTypeResponseType get_BodyType ()

/** @property */
public void set_BodyType (BodyTypeResponseType value)
public function get BodyType () : BodyTypeResponseType

public function set BodyType (value : BodyTypeResponseType)

Property Value

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)