Bloomberg API for .NET
SetValue Method (value, index)
NamespacesBloomberglp.BlpapiElementSetValue(Double, Int32)
Sets the value of this element to the specified value.
Declaration Syntax
C#Visual BasicVisual C++
public abstract void SetValue(
	double value,
	int index
)
Public MustOverride Sub SetValue ( 
	value As Double,
	index As Integer
)
public:
virtual void SetValue(
	double value, 
	int index
) abstract
Parameters
value (Double)
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.9.6.1