SetValue()

Array::SetValue(const T&, int) method

Sets value of the element at specified index.

void System::Array<T>::SetValue(const T &value, int index)

Arguments

ParameterTypeDescription
valueconst T&A const reference to the value to set
indexintIndex of the element

See Also