RuntimeHelpers.InitializeArray Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Provides a fast way to initialize an array from data stored in a module.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Public Shared Sub InitializeArray ( _ array As Array, _ fldHandle As RuntimeFieldHandle _ )
Parameters
- array
- Type: System.Array
The array to be initialized.
- fldHandle
- Type: System.RuntimeFieldHandle
A RuntimeFieldHandle specifying the location of the data used to initialize the array.
Show: