This documentation is archived and is not being maintained.

Array::SetValue Method

Sets the specified element in the current Array to the specified value.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method SetValue(Object, Int32) Sets a value to the element at the specified position in the one-dimensional Array. The index is specified as a 32-bit integer.
Public method SetValue(Object, array<Int32>) Sets a value to the element at the specified position in the multidimensional Array. The indexes are specified as an array of 32-bit integers.
Public method SetValue(Object, Int64) Sets a value to the element at the specified position in the one-dimensional Array. The index is specified as a 64-bit integer.
Public method SetValue(Object, array<Int64>) Sets a value to the element at the specified position in the multidimensional Array. The indexes are specified as an array of 64-bit integers.
Public method SetValue(Object, Int32, Int32) Sets a value to the element at the specified position in the two-dimensional Array. The indexes are specified as 32-bit integers.
Public method SetValue(Object, Int64, Int64) Sets a value to the element at the specified position in the two-dimensional Array. The indexes are specified as 64-bit integers.
Public method SetValue(Object, Int32, Int32, Int32) Sets a value to the element at the specified position in the three-dimensional Array. The indexes are specified as 32-bit integers.
Public method SetValue(Object, Int64, Int64, Int64) Sets a value to the element at the specified position in the three-dimensional Array. The indexes are specified as 64-bit integers.
Top
Show: