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.24.11.1
Syntax public void PushElement(
Name name
)
Public Sub PushElement (
name As Name
)
public:
void PushElement(
Name^ name
)
member PushElement :
name : Name -> unit
Parameters
- name
- Type: Bloomberglp.BlpapiName
the name of the field that needs to be added
Exceptions Exception | Condition |
---|
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