Bloomberg API for .NET
SetElement Method (name, value)
NamespacesBloomberglp.BlpapiElementSetElement(String, Constant)
Sets the named sub-element to the specified value.
Declaration Syntax
C#Visual BasicVisual C++
public abstract void SetElement(
	string name,
	Constant value
)
Public MustOverride Sub SetElement ( 
	name As String,
	value As Constant
)
public:
virtual void SetElement(
	String^ name, 
	Constant^ value
) abstract
Parameters
name (String)
The Name of the sub-element to set.
value (Constant)
The value to set to.
Exceptions
ExceptionCondition
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.

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