Hi,
Take a look at reflection.
http://msdn2.microsoft.com/en-us/library/t0cs7xez.aspx
http://msdn2.microsoft.com/en-us/lib...pertyinfo.aspx
Ken
----------------------------
"abillmeier" wrote:
> I have created a custom object with several properties that use private
> variables. I used an object with properties so I could better control
> validation and share the code between applications.
>
> Is it possible to access object properties as if they were in a collection?
> I would like to be able to retrieve and update the properties kinda like:
> objectinstancename("propertyname")
>
>
> Can this be done? Do I need to handle this in a differnet manner or add
> additional code to allow it?
>
> Thanks in advance.
>
>
>