471,315 Members | 2,270 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,315 software developers and data experts.

Reflecting Namespace

Is there a way to retrieve a list of "Types" that exist within a given
namespace?

Some kind of reflection?

Dec 21 '05 #1
1 1234
yoshijg <jo*****@gmail.com> wrote:
Is there a way to retrieve a list of "Types" that exist within a given
namespace?

Some kind of reflection?


You can only do this on a per-assembly basis, because any number of
assemblies can contribute to a namespace. Basically, iterate through
all the types in an assembly (Assembly.GetTypes) and check the
namespace for each type.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Dec 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by DotNetJunkies User | last post: by
reply views Thread by Dave Veeneman | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.