How can .GetType cause exception?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I want to map data to class properties. Looking at a few examples, I see
that calls to .GetType, .GetProperties, etc. are always in try/catch blocks.
Not sure why this is. Are certain permissions required to run routines in
system.reflection?

Thanks,

Bill
 
Please ignore: Checked further and I see that I need to set the app up with
"full" trust. Thanks.
 
Back
Top