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 dim As Integer _ ) As Array |
| C# |
|---|
| public static Array NewInstance( Type cl, int dim ) |
| C++ |
|---|
| public: static Array NewInstance( Type cl, int dim ) |
| J# |
|---|
| public static Array NewInstance( Type cl, int dim ) |
| JScript |
|---|
| public static
function NewInstance( cl : Type, dim : int ) : Array |
Parameters
- cl
- The class of the array.
- dim
- The dimension of the array.
Return Value
The allocated array.