最有用的属性[关闭]

≡放荡痞女 提交于 2020-08-04 17:12:29

问题:

I know that attributes are extremely useful. 我知道属性非常有用。 There are some predefined ones such as [Browsable(false)] which allows you to hide properties in the properties tab. 有一些预定义的,例如[Browsable(false)]允许您在属性选项卡中隐藏属性。 Here is a good question explaining attributes: What are attributes in .NET? 这是一个很好的解释属性的问题: .NET中的属性是什么?

What are the predefined attributes (and their namespace) you actually use in your projects? 您在项目中实际使用的预定义属性(及其命名空间)是什么?


解决方案:

参考一: https://stackoom.com/question/bg1/最有用的属性-关闭
参考二: https://oldbug.net/q/bg1/Most-Useful-Attributes-closed
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!