RuntimeHelpers.InitializeArray(Array, RuntimeFieldHandle) Method

Definition

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

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