npearson99
New member
- Joined
- Mar 24, 2008
- Messages
- 1
- Programming Experience
- 1-3
I'm trying to loop through some objects properties.
Object c has these properties:
c.property1
c.property2
c.property3
c.property4
c.property5
c.property6
c.property7
...to
c.property100
I want to get the value from each property. So I want to do something like this:
for i = 1 to 101
myVar = c["property" + i]
' do something cool
next
that code with the c[] is actually actionscript 3 code. I'm trying to do the same thing in VB.NET.
I hope this makes sense.
-Nate
Object c has these properties:
c.property1
c.property2
c.property3
c.property4
c.property5
c.property6
c.property7
...to
c.property100
I want to get the value from each property. So I want to do something like this:
for i = 1 to 101
myVar = c["property" + i]
' do something cool
next
that code with the c[] is actually actionscript 3 code. I'm trying to do the same thing in VB.NET.
I hope this makes sense.
-Nate