469,334 Members | 4,423 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,334 developers. It's quick & easy.

How to access fields in methods using Reflection

djp
Hi,

I'm trying to access fields that are local to a method using reflection.
What BindingFlags value should I use and is this possible at all. So far I
was able to retreive class fields only.

Thanks
Nov 15 '05 #1
1 1147
In article <vs********************@wagner.videotron.net>, a@b.com
says...
Hi,

I'm trying to access fields that are local to a method using reflection.
What BindingFlags value should I use and is this possible at all. So far I
was able to retreive class fields only.


Perhaps I don't understand. If the field is local to the method, why
use reflection? Just use the field.

--
Patrick Steele
Microsoft .NET MVP
http://weblogs.asp.net/psteele
Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by rufus | last post: by
4 posts views Thread by Picho | last post: by
3 posts views Thread by trevorelbourne | last post: by
10 posts views Thread by Abelardo Vacca | last post: by
1 post views Thread by lactaseman | last post: by
4 posts views Thread by =?Utf-8?B?c2lwcHl1Y29ubg==?= | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.