Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SetValue Method

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.

Community Additions

ADD
Show:
© 2015 Microsoft