Skip to main content

ec_message_part_add_child_first

Last updated March 2020

Name

ec_message_part_add_child_first — Add part as the first child of another part

Synopsis

#include "ec_message.h"

| int **ec_message_part_add_child_first** ( | parent, |   | |   | child); |   |

ec_message_part * <var class="pdparam">parent</var>; ec_message_part * <var class="pdparam">child</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

Add part as the first child of another part.

parent must be a valid container type with a valid boundary string.

Adds child as the first child part of the parent part.

Parameters

parent

the parent part

child

the part that will become a child

Return Values

0 on failure, 1 on success.

**Configuration Change. ** This feature is available starting from Momentum 3.0.18.

Was this page helpful?