|
-
May 23rd, 2005, 02:32 PM
#1
Thread Starter
Hyperactive Member
how retreive the value of a property from object when propertyname in a variable ?
how my I retreive the value of a property in an object when I stored the propertyname in a variable ?
I give you a little example of what I want to do. I wrote "Me.[en.Current]" for what I am looking for - how is the correct syntax ?
Public Class myClass
Dim myProperty As Integer
Public Function get_Datarow(ByVal field_list As ArrayList)
While en.MoveNext
Console.WriteLine( Me.[en.Current] )
End While
End Function
End Class
Thank you very much!
Fabian
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|