RuntimeHelpers.InitializeArray Method (Array, RuntimeFieldHandle)

 

Provides a fast way to initialize an array from data that is stored in a module.

Namespace:   System.Runtime.CompilerServices
Assembly:  mscorlib (in mscorlib.dll)

static member InitializeArray : 
        array:Array *
        fldHandle:RuntimeFieldHandle -> unit

Parameters

array
Type: System.Array

The array to be initialized.

fldHandle
Type: System.RuntimeFieldHandle

A field handle that specifies the location of the data used to initialize the array.

This method is used by compilers.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: