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