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