EventFormatterSetElement Method (String, Char) |
Note: This API is now obsolete.
Sets the element with the specified 'name' within the current
element to the specified 'value'.
Deprecated, use
SetElement(Name, Char) instead.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.10.1
Syntax [ObsoleteAttribute("Deprecated, use SetElement(Name, char) instead.")]
public void SetElement(
string name,
char value
)
<ObsoleteAttribute("Deprecated, use SetElement(Name, char) instead.")>
Public Sub SetElement (
name As String,
value As Char
)
public:
[ObsoleteAttribute(L"Deprecated, use SetElement(Name, char) instead.")]
void SetElement(
String^ name,
wchar_t value
)
[<ObsoleteAttribute("Deprecated, use SetElement(Name, char) instead.")>]
member SetElement :
name : string *
value : char -> unit
Parameters
- name
- Type: SystemString
The name of the subfield. - value
- Type: SystemChar
The value to be set.
Exceptions Exception | Condition |
---|
InvalidOperationException |
The operating stack is empty.
|
NotFoundException |
The schema does not identify a 'name' sub-element of the current
sequence or choice element, or the element identified by 'name'
has already been set.
|
NotSupportedException |
The current element in the stack is not a sequence or choice.
|
InvalidConversionException |
'value' cannot be converted to the type specified by the schema for
the 'name' sub-element.
|
See Also