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