Platform SDK: CDO for Windows 2000

autopromotebodyparts Field

Specifies whether or not multipart body parts that contain a single child body part are replaced with the child when the MIME stream is constructed.

Full Name

http://schemas.microsoft.com/cdo/configuration/autopromotebodyparts

Name Constant

CdoConfiguration.cdoAutoPromoteBodyParts

Variant SubType

[Visual Basic] Boolean

[C++,IDL] VARIANT_BOOL

Remarks

The multipart body part content type is designed to relate two or more child body parts. When a body part that is marked multipart contains only one child, this flag determines whether or not the child is automatically "promoted" to the parent's position when the message is serialized and the stream is built.

The default for the property is True (VARIANT_TRUE).

Example

True (default)