Get all objects in current application

  • Thread starter Thread starter Tao
  • Start date Start date
T

Tao

hi.. group,

Is there a way to get all the objects from current application?

Something like:

object[] objs = Application.GetAllObjects();

Thanks.
 
Tao,

No, there isn't. What exactly are you trying to do?
 
Thanks Nicholas.. :)

I do not have particular purpose, I have spent hours to research for it..

thanks again for your help.



Nicholas Paldino said:
Tao,

No, there isn't. What exactly are you trying to do?


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Tao said:
hi.. group,

Is there a way to get all the objects from current application?

Something like:

object[] objs = Application.GetAllObjects();

Thanks.
 
If it is for diagnosing a problem, take a memory dump and use WinDbg
or use a tools such as Scitech's great memory profiler
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top