RuntimeHelpers.InitializeArray(Array, RuntimeFieldHandle) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a fast way to initialize an array from data that is stored in a module.
public:
static void InitializeArray(Array ^ array, RuntimeFieldHandle fldHandle);
public static void InitializeArray (Array array, RuntimeFieldHandle fldHandle);
static member InitializeArray : Array * RuntimeFieldHandle -> unit
Public Shared Sub InitializeArray (array As Array, fldHandle As RuntimeFieldHandle)
Parameters
- array
- Array
The array to be initialized.
- fldHandle
- RuntimeFieldHandle
A field handle that specifies the location of the data used to initialize the array.
Remarks
This method is used by compilers.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.