SetValue Method
This documentation is archived and is not being maintained.

Array.SetValue Method

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

Name Description
Array.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.

Supported by the .NET Compact Framework.

Array.SetValue (Object, 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.

Supported by the .NET Compact Framework.

Array.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.
Array.SetValue (Object, 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.
Array.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.
Array.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.
Array.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.
Array.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.
Show:
© 2016 Microsoft