Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Get a List of all objects in application?

Get a List of all objects in application?

Scheduled Pinned Locked Moved C#
questionlearning
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Robert M Greene
    wrote on last edited by
    #1

    How do I retrieve a list of all the objects created in the currently running application? I want to perform some resource validation routines as our application is running. ............................. There's nothing like the sound of incoming rifle and mortar rounds to cure the blues. No matter how down you are, you take an active and immediate interest in life. Fiat justitia, et ruat cælum

    S 1 Reply Last reply
    0
    • R Robert M Greene

      How do I retrieve a list of all the objects created in the currently running application? I want to perform some resource validation routines as our application is running. ............................. There's nothing like the sound of incoming rifle and mortar rounds to cure the blues. No matter how down you are, you take an active and immediate interest in life. Fiat justitia, et ruat cælum

      S Offline
      S Offline
      Sasuko
      wrote on last edited by
      #2

      use this.Controls[] i hope it can help you.

      V 1 Reply Last reply
      0
      • S Sasuko

        use this.Controls[] i hope it can help you.

        V Offline
        V Offline
        Vikram A Punathambekar
        wrote on last edited by
        #3

        I doubt it. I think he wants a reference to *each and every* object that his program creates. AFAIK, there's no way to do this. Cheers, Vikram.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups