_Assembly::LoadModule Method (String^, array<Byte>^)

 

Provides COM objects with version-independent access to the LoadModule method.

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

Module^ LoadModule(
	String^ moduleName,
	array<unsigned char>^ rawModule
)

Parameters

moduleName
Type: System::String^

Name of the module. Must correspond to a file name in this assembly's manifest.

rawModule
Type: array<System::Byte>^

A byte array that is a COFF-based image containing an emitted module, or a resource.

Return Value

Type: System.Reflection::Module^

The loaded Module.

This method is for access to managed classes from unmanaged code, and should not be called from managed code.

The LoadModule method loads the module, internal to this assembly, with a Common Object File Format (COFF)-based image containing an emitted module, or a resource file.

.NET Framework
Available since 1.1
Return to top
Show: