EventFormatterPushElement Method (String) |
Note: This API is now obsolete.
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.
Deprecated, use
PushElement(Name) instead.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.11.1
Syntax [ObsoleteAttribute("Deprecated, use PushElement(Name) instead.")]
public void PushElement(
string name
)
<ObsoleteAttribute("Deprecated, use PushElement(Name) instead.")>
Public Sub PushElement (
name As String
)
public:
[ObsoleteAttribute(L"Deprecated, use PushElement(Name) instead.")]
void PushElement(
String^ name
)
[<ObsoleteAttribute("Deprecated, use PushElement(Name) instead.")>]
member PushElement :
name : string -> unit
Parameters
- name
- Type: SystemString
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