ElementSetElement Method (Name, Name) |
Sets the named sub-element to the specified value.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.7.1
Syntax public abstract void SetElement(
Name name,
Name value
)
Public MustOverride Sub SetElement (
name As Name,
value As Name
)
public:
virtual void SetElement(
Name^ name,
Name^ value
) abstract
abstract SetElement :
name : Name *
value : Name -> unit
Parameters
- name
- Type: Bloomberglp.BlpapiName
The Name of the sub-element to set.
- value
- Type: Bloomberglp.BlpapiName
The value to set to.
Exceptions Exception | Condition |
---|
NotFoundException |
The named sub-element cannot be found.
|
InvalidConversionException |
The named sub-element's type is not an enumeration type, or
value does not refer to a constant in the enumeration type
of the named sub-element.
|
NotSupportedException |
This element is not a sequence or choice
or if this element is read-only.
|
See Also