ElementSetElement Method (String, Constant) |
Note: This API is now obsolete.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.10.1
Syntax [ObsoleteAttribute("Deprecated, use SetElement(Name, Constant) instead.")]
public abstract void SetElement(
string name,
Constant value
)
<ObsoleteAttribute("Deprecated, use SetElement(Name, Constant) instead.")>
Public MustOverride Sub SetElement (
name As String,
value As Constant
)
public:
[ObsoleteAttribute(L"Deprecated, use SetElement(Name, Constant) instead.")]
virtual void SetElement(
String^ name,
Constant^ value
) abstract
[<ObsoleteAttribute("Deprecated, use SetElement(Name, Constant) instead.")>]
abstract SetElement :
name : string *
value : Constant -> unit
Parameters
- name
- Type: SystemString
The Name of the sub-element to set.
- value
- Type: Bloomberglp.BlpapiConstant
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