Results 1 to 2 of 2

Thread: [2005] Get all class name in a namespace

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2006
    Location
    Surabaya, Indonesia
    Posts
    163

    [2005] Get all class name in a namespace

    Can anyone show me how to get all class name in a given namespace ? I have an assembly that contains multiple namespace, but I only want to know all class that exist in specific namespace.

    I know I must use reflection, but no idea how to do it.

    Regards

    Michael
    Check my Blog at VB Corner,Component Crafts

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2005] Get all class name in a namespace

    You should read the documentation for the Assembly class.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width