Module.ScopeName gets a string representing the name of the module.
Imports System.Reflection Imports System Public Class Simple Public Shared Sub Main() Dim myMod As System.Reflection.Module = [Assembly].GetExecutingAssembly().GetModules()(0) Console.WriteLine("Module Name is " + myMod.Name) Console.WriteLine("Module FullyQualifiedName is " + myMod.FullyQualifiedName) Console.WriteLine("Module ScopeName is " + myMod.ScopeName) End Sub End Class