Accessing Class Properties

  • Thread starter Thread starter Joel Reinford
  • Start date Start date
J

Joel Reinford

I have a VB.NET class with a number of properties and would like to be able
to reference them in an index fashion. Is this possible and if so, how would
I set this up?

Psuedo code
xyz = MyClass("PropertyName").Value

Joel Reinford
Data Management Solutions LLC
 
* "Joel Reinford said:
I have a VB.NET class with a number of properties and would like to be able
to reference them in an index fashion. Is this possible and if so, how would
I set this up?

Psuedo code
xyz = MyClass("PropertyName").Value

'CallByName'...

.... or Reflection, but that's more complicated.
 
Back
Top