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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.