Bewerken

Delen via


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
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