CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Threaded View

  1. #1
    Join Date
    May 2006
    Posts
    306

    Dynamic Properties?

    I don't suppose you can add properties dynamically, can you?
    Code:
    void DoIt()
    {
        this.NewProperty = new Object();
    }
    DoIt();
    I would just have to define a List<Object> in a form and/or object.


    Also, Why can't I convert a form to an object array? Can someone help me here, or is it just not possible.
    Last edited by code?; September 24th, 2008 at 03:13 PM.

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

Featured