-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Mrinal
Message 1 in Discussion

Hi ,   I am having following issues while using reflection :   1. If i read a class 
containing methods and Properties and try getting method info at runtime , then it 
also includes properties in that , since i am doing code generation it creates the 
issue for e.g:  My class contains Method 1 and Property1 with get and set accessors , 
now when i get thye MethodInfo then along with Method1 it also gets me methods 
get_Property1 and Set_Property1  ,  I am using Binding flag as enumeration as   
(BindingFlags.Public | BindingFlags.Static | BindingFlags.Instance | 
BindingFlags.DeclaredOnly) 
Also there's an issue in using Binding flag enumeration , it i don't give any value in 
the GetMethods , then it returns everything , even the ones inherited through 
System.Object , but when i give DeclaredOnly , it returns  nothing , same was the case 
in default . 
get somebody help resolving this issue , 
regards , 
Mrinal

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to