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