Assembly::GetModules Method

Gets all the modules that are part of this assembly.

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

No code example is currently available or this language may not be supported.

Return Value

Type: array<System.Reflection::Module>
An array of modules.

ExceptionCondition
FileNotFoundException

The module to be loaded does not specify a file name extension.

This method works on public and private resource files.

NoteNote:

Modules must be emitted with file name extensions.

The following example displays the name of the module in the returned array that contains the assembly manifest.

No code example is currently available or this language may not be supported.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: