Click or drag to resize
EventFormatterPushElement Method (Name)
Changes the level at which this formatter is operating to the specified element 'name'. After this returns the context of this formatter is set to the element 'name' in the schema and subsequent calls to 'SetElement' or 'PushElement' are applied at that level. If 'name' represents an array of scalars then 'AppendValue' must be used to add values. If 'name' represents an array of complex types then 'AppendElement()' creates the first entry and set the context of the formatter to that element. Calling 'AppendElement()' again will create another entry.

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

Parameters

name
Type: Bloomberglp.BlpapiName
the name of the field that needs to be added
Exceptions
ExceptionCondition
InvalidOperationException The operating stack is empty.
NotFoundException The current element in the stack does not contain the specified message type.
NotSupportedException The current element in the stack.is not a sequence or choice.
See Also