Module.Assembly Property 
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.
public:
 virtual property System::Reflection::Assembly ^ Assembly { System::Reflection::Assembly ^ get(); };public:
 property System::Reflection::Assembly ^ Assembly { System::Reflection::Assembly ^ get(); };public virtual System.Reflection.Assembly Assembly { get; }public System.Reflection.Assembly Assembly { get; }member this.Assembly : System.Reflection.AssemblyPublic Overridable ReadOnly Property Assembly As AssemblyPublic ReadOnly Property Assembly As AssemblyProperty Value
An Assembly object.
Examples
The following example displays the full name of the specified assembly in the specified module.
using System;
using System.Reflection;
namespace ReflectionModule_Examples
{
    class MyMainClass
    {
        static void Main()
        {
            Module[] moduleArray;
            
            moduleArray = typeof(MyMainClass).Assembly.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);
        }
    }
}
Imports System.Reflection
Namespace ReflectionModule_Examples
    Class MyMainClass
        Shared Sub Main()
            Dim moduleArray() As [Module]
            moduleArray = GetType(MyMainClass).Assembly.GetModules(False)
            ' In a simple project with only one module, the module at index
            ' 0 will be the module containing this class.
            Dim myModule As [Module] = moduleArray(0)
            Dim myAssembly As [Assembly] = myModule.Assembly
            Console.WriteLine("myModule.Assembly = {0}.", myAssembly.FullName)
        End Sub
    End Class
End Namespace 'ReflectionModule_Examples