Assembly.GetModules Method (Boolean)

 

Gets all the modules that are part of this assembly, specifying whether to include resource modules.

Namespace:   System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

public virtual Module[] GetModules(
	bool getResourceModules
)

Parameters

getResourceModules
Type: System.Boolean

true to include resource modules; otherwise, false.

Return Value

Type: System.Reflection.Module[]

An array of modules.

This method works on public and private resource files.

System_CAPS_noteNote

Modules must be emitted with file name extensions.

.NET Framework
Available since 1.1
Return to top
Show: