Bloomberg API for .NET
SetElement Method (name, value)
NamespacesBloomberglp.BlpapiEventFormatterSetElement(Name, Char)
Sets the element with the specified 'name' within the current element to the specified 'value'.
Declaration Syntax
C#Visual BasicVisual C++
public void SetElement(
	Name name,
	char value
)
Public Sub SetElement ( 
	name As Name,
	value As Char
)
public:
void SetElement(
	Name^ name, 
	wchar_t value
)
Parameters
name (Name)
The name of the subfield.
value (Char)
The value to be set.
Exceptions
ExceptionCondition
InvalidOperationException The operating stack is empty.
NotFoundException The schema does not identify a 'name' sub-element of the current sequence or choice element.
NotSupportedException The current element in the stack.is not a sequence or choice, or the element identified by 'name' has already been set.
InvalidConversionException 'value' cannot be converted to the type specified by the schema for the 'name' sub-element.

Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.7.4.1