This documentation is archived and is not being maintained.

RuntimeHelpers.InitializeArray Method

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

[Visual Basic]
Public Shared Sub InitializeArray( _
   ByVal array As Array, _
   ByVal fldHandle As RuntimeFieldHandle _
)
[C#]
public static void InitializeArray(
 Array array,
 RuntimeFieldHandle fldHandle
);
[C++]
public: static void InitializeArray(
 Array* array,
 RuntimeFieldHandle fldHandle
);
[JScript]
public static function InitializeArray(
   array : Array,
 fldHandle : RuntimeFieldHandle
);

Parameters

array
The array to be initialized.
fldHandle
A RuntimeFieldHandle specifying the location of the data used to initialize the array.

Remarks

This method is for compiler use only.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

RuntimeHelpers Class | RuntimeHelpers Members | System.Runtime.CompilerServices Namespace

Show: