ElementSetElement Method (String, Single) |
Sets the named sub-element to the specified value.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.16.0.1
Syntax public abstract void SetElement(
string name,
float value
)
Public MustOverride Sub SetElement (
name As String,
value As Single
)
public:
virtual void SetElement(
String^ name,
float value
) abstract
abstract SetElement :
name : string *
value : float32 -> unit
Parameters
- name
- Type: SystemString
The Name of the sub-element to set.
- value
- Type: SystemSingle
The value to set to.
Exceptions Exception | Condition |
---|
NotFoundException |
The named sub-element cannot be found.
|
InvalidConversionException |
The element specified by name
cannot be initialized with the specified value.
|
NotSupportedException |
This element is not a sequence or choice
or if this element is read-only.
|
See Also