AssemblyBuilder.GetModules(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.