Sets the element with the specified 'name' within the current
element to the specified 'value'.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public void SetElement( string name, int value )
Public Sub SetElement ( name As String, value As Integer )
public: void SetElement( String^ name, int value )
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, or the element identified by 'name'
has already been set.
|
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.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.9.6.1