Module.Is Resource : Module « Reflection « C# / C Sharp






Module.Is Resource

 

using System;
using System.Reflection;
class MyMainClass
{
    static void Main()
    {
        Module[] moduleArray;

        moduleArray = Assembly.GetExecutingAssembly().GetModules(false);
        Module myModule = moduleArray[0];

        Console.WriteLine("myModule.IsResource() = {0}", myModule.IsResource());
    }
}

   
  








Related examples in the same category

1.Load Assembly
2.Module Class Performs reflection on a module.
3.Module.Assembly
4.Module.FilterTypeName
5.Module.Filter Type Name
6.Module.Fully Qualified Name
7.Module.Is Defined
8.Module.ToString