摘要:
http://www.cnblogs.com/chengxiaohui/articles/1980088.html利用DescriptionAttribute定义枚举值的描述信息我们知道System.ComponentModel命名空间下有个名为DescriptionAttribute的类用于指定属性或事件的说明,我所调用的枚举值描述信息就是DescriptionAttribute类的Description属性值。 首先定义一个枚举/**////<summary>///测试用的枚举///</summary>publicenumArticleTypeList{[Descr 阅读全文
posted @ 2011-12-08 12:27
张纯睿
阅读(131)
评论(0)
推荐(0)
浙公网安备 33010602011771号