Click or drag to resize
ElementSetValue Method (Name, Int32)
Sets the value of this element to the specified value.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.13.2.1
Syntax
public abstract void SetValue(
	Name constant,
	int index
)

Parameters

constant
Type: Bloomberglp.BlpapiName
The value for this element.
index
Type: SystemInt32
For a non-array, index can only be 0. For an array, index is in the range of the array.
Exceptions
ExceptionCondition
InvalidConversionException This element's type is not an enumeration type, or constant does not refer to a constant in the enumeration type of this element.
IndexOutOfRangeException index >= NumValues
See Also