Bloomberg API for .NET
SetValue Method (constant, index)
NamespacesBloomberglp.BlpapiElementSetValue(Constant, Int32)
Sets the value of this element to the specified value.
Declaration Syntax
C#Visual BasicVisual C++
public abstract void SetValue(
	Constant constant,
	int index
)
Public MustOverride Sub SetValue ( 
	constant As Constant,
	index As Integer
)
public:
virtual void SetValue(
	Constant^ constant, 
	int index
) abstract
Parameters
constant (Constant)
The value for this element.
index (Int32)
For a non-array, index can only be 0. For an array, index is in the range of the array.
Exceptions
ExceptionCondition
InvalidConversionException The element at the specified index cannot be initialized with the specified value.
IndexOutOfRangeException index >= NumValues

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