EventFormatterSetElement Method (Name, Int32) |
Sets the element with the specified 'name' within the current
element to the specified 'value'.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.7.1
Syntax public void SetElement(
Name name,
int value
)
Public Sub SetElement (
name As Name,
value As Integer
)
public:
void SetElement(
Name^ name,
int value
)
member SetElement :
name : Name *
value : int -> unit
Parameters
- name
- Type: Bloomberglp.BlpapiName
The name of the subfield. - value
- Type: SystemInt32
The value to be set.
Exceptions Exception | Condition |
---|
InvalidOperationException |
The operating stack is empty.
|
NotFoundException |
The schema does not identify a 'name' sub-element of the current
sequence or choice element.
|
NotSupportedException |
The current element in the stack is not a sequence or choice.
|
InvalidConversionException |
'value' cannot be converted to the type specified by the schema for
the 'name' sub-element.
|
See Also