By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,467 Members | 1,448 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,467 IT Pros & Developers. It's quick & easy.

How to access fields in methods using Reflection

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.