Module.IsResource gets a value indicating whether the object is a resource.
Imports System
Imports System.Reflection
Class MyMainClass
Shared Sub Main()
Dim moduleArray() As [Module]
moduleArray = [Assembly].GetExecutingAssembly().GetModules(False)
Dim myModule As [Module] = moduleArray(0)
Console.WriteLine("myModule.IsResource() = {0}", myModule.IsResource())
End Sub
End Class