0 out of 1 rated this helpful - Rate this topic

Array.CreateInstance Method

Initializes a new instance of the Array class.

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 Static member CreateInstance(Type, Int32) Creates a one-dimensional Array of the specified Type and length, with zero-based indexing.
Public method Static member CreateInstance(Type, Int32[]) Creates a multidimensional Array of the specified Type and dimension lengths, with zero-based indexing. The dimension lengths are specified in an array of 32-bit integers.
Public method Static member CreateInstance(Type, Int64[]) Creates a multidimensional Array of the specified Type and dimension lengths, with zero-based indexing. The dimension lengths are specified in an array of 64-bit integers.
Public method Static member CreateInstance(Type, Int32, Int32) Creates a two-dimensional Array of the specified Type and dimension lengths, with zero-based indexing.
Public method Static member CreateInstance(Type, Int32[], Int32[]) Creates a multidimensional Array of the specified Type and dimension lengths, with the specified lower bounds.
Public method Static member CreateInstance(Type, Int32, Int32, Int32) Creates a three-dimensional Array of the specified Type and dimension lengths, with zero-based indexing.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.