Edit

Share via


AssemblyBuilder.GetModules(Boolean) Method

Definition

Gets all the modules that are part of this assembly, and optionally includes resource modules.

public:
 override cli::array <System::Reflection::Module ^> ^ GetModules(bool getResourceModules);
public override System.Reflection.Module[] GetModules (bool getResourceModules);
override this.GetModules : bool -> System.Reflection.Module[]
Public Overrides Function GetModules (getResourceModules As Boolean) As Module()

Parameters

getResourceModules
Boolean

true to include resource modules; otherwise, false.

Returns

Module[]

The modules that are part of this assembly.

Applies to