在运行时隐藏属性 [英] Hiding a property at runtime

查看:67
本文介绍了在运行时隐藏属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用north-wind数据库。我使用反射来获取属性值。但是我想在运行时隐藏产品类的一些属性。我怎么能这样做

I am using north-wind database.I am using reflection to get the property values .But i want to hide some properties of product class at runtime. How can i do this

推荐答案

看看这个页面..可能对你有帮助。



http://stackoverflow.com/questions / 4447939 /它可以禁用 - 从网络组件反射 [ ^ ]
have a look on this page.. may be help full for you.

http://stackoverflow.com/questions/4447939/is-it-possible-to-disable-reflection-from-a-net-assembly[^]


这篇关于在运行时隐藏属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆