Click or drag to resize
IMessageFormatterPushElement Method
Changes the level at which this IMessageFormatter is operating to the specified element name. The element name must identify either a choice, a sequence or an array at the current level of the schema or the behavior is undefined.

After this returns the context of the IMessageFormatter is set to the element name in the schema and any calls to SetElement(Name, Boolean), its overrides, or PushElement(Name) are applied at that level.

If name represents an array of scalars then AppendValue(Boolean) or its overrides must be used to add values.

If name represents an array of complex types then AppendElement creates the first entry and sets the context of the IMessageFormatter to that element. Calling AppendElement again will create another entry.

Namespace:  Bloomberglp.Blpapi.Test
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.17.0.1
Syntax
void PushElement(
	Name name
)

Parameters

name
Type: Bloomberglp.BlpapiName
Exceptions
ExceptionCondition
ArgumentException Thrown when the name is invalid for the current message or if the element identified by name has already been set.
ArgumentNullException Thrown when name is null.
See Also