System.Reflection.Assembly.GetModules Method

Gets all the modules that are part of this assembly.

Syntax

public Module[] GetModules ()

Returns

An array of modules.

Remarks

This method works on public and private resource files.

Note:

Modules must be emitted with file name extensions.

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0