Two things that a end developer can do with your class is <b>inherit</
b> your class and build upon it.  They can also use the new
<b>Extension</b> methods in framework 3.0.  Let me know if this helped
you.

On Feb 27, 6:04 am, Belisario <[email protected]> wrote:
> Hello everybody!
>
> I'm a VB.Net beginner.
> I'm trying to understand if it's possible to create a class with a
> method in it to add new properties to this class.
>
> Let me put it better: I am building a customer class. This would have
> some base fixed properties like "Name" or "Address", but I would like
> to give the user the possibility to build his own free custom
> property, like "Telephone Number" and "Software version" for Mr. Smith
> and "Customer hobbies" and "Website" for Mr. Brown.
> So:
>
> Mr. Smith's Customer Object properties:
> "Name"
> "Address"
> "Telephone Number"
> "Software version"
>
> Mr. Brown Customer Object properties:
> "Name"
> "Address"
> "Customer hobbies"
> "Website"
>
> I searched a lot through the net but I still can't understand if this
> is possible and how. I heard about something called "reflection", but
> I am still not sure if I am searching the right way...
>
> Could you please help me on this point or show me other possible ways
> to overcome the issue?
>
> Thank you very much!

Reply via email to