Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 array<Module^>^ GetModules(
	bool getResourceModules
)

Parameters

getResourceModules
Type: System::Boolean

true to include resource modules; otherwise, false.

Return Value

Type: array<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:
© 2017 Microsoft