LoadModule Method (String, Byte[], Byte[])
Collapse the table of content
Expand the table of content

_Assembly.LoadModule Method (String, Byte[], 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,
	byte[] rawModule,
	byte[] rawSymbolStore
)

Parameters

moduleName
Type: System.String

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

rawModule
Type: System.Byte[]

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

rawSymbolStore
Type: System.Byte[]

A byte array containing the raw bytes representing the symbols for the module. Must be null if this is a resource file.

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. The raw bytes representing the symbols for the module are also loaded.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft