Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AMembers
Message
 
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01478874
Message ID:
01478881
Views:
29
>>>Does anyone know how to get a list of all exposed properties for a class like aMembers fuinction in VFP? I need to inspect an object and iterate through the properties. I know Reflection is involved but I am not familiar with the constructs.
>>>
>>>Thanks
>>>
>>>Glenn
>>
>>What is your .NET version?
>>
>>Check http://msdn.microsoft.com/en-us/library/system.reflection.propertyinfo.aspx
>
>.Net version 2.0 or 3.5 either is OK. I have not yet begun to work with 4.0
>
>Glenn

Check also this link http://www.switchonthecode.com/tutorials/csharp-tutorial-using-reflection-to-get-object-information - looks like it's exactly what you need and applies to .NET 2.0
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform