Allocate an array dynamically. The Array.NewInstance method does not throw an error.
Namespace: nom.tam.util
Assembly: CSharpFITS_v1.1 (in CSharpFITS_v1.1.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function NewInstance( _ ByVal cl As Type, _ ByVal dims As Integer() _ ) As Array |
C# |
---|
public static Array NewInstance( Type cl, int[] dims ) |
C++ |
---|
public: static Array NewInstance( Type cl, array<int>^ dims ) |
J# |
---|
public static Array NewInstance( Type cl, int[] dims ) |
JScript |
---|
public static
function NewInstance( cl : Type, dims : int[] ) : Array |
Parameters
- cl
- The class of the array.
- dims
- The dimensions of the array.
Return Value
The allocated array.