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.
Module::Assembly Property
.NET Framework (current version)
Namespace:
System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Return to top
Assembly: mscorlib (in mscorlib.dll)
The following example displays the full name of the specified assembly in the specified module.
using namespace System; using namespace System::Reflection; int main() { array<Module^>^moduleArray; moduleArray = Assembly::GetExecutingAssembly()->GetModules( false ); // In a simple project with only one module, the module at index // 0 will be the module containing this class. Module^ myModule = moduleArray[ 0 ]; Assembly^ myAssembly = myModule->Assembly; Console::WriteLine( "myModule.Assembly = {0}.", myAssembly->FullName ); }
Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Show: