EnumerationGet All PropertiesT 方法
获取该枚举类的所有·属性类型·枚举项
必须同时满足:属性、Public、Static、在本类声明而不是继承来的
Definition
命名空间: Suresking.Utility
程序集: Suresking.Utility (在 Suresking.Utility.dll 中) 版本:1.3.22+a27276bb8ffde055e69ff608e98aafba279e1e99
枚举类 属性(Properties) 项的列表
程序集: Suresking.Utility (在 Suresking.Utility.dll 中) 版本:1.3.22+a27276bb8ffde055e69ff608e98aafba279e1e99
C#
public static IEnumerable<T> GetAllProperties<T>()
where T : Enumeration
类型参数
- T
- 枚举类
返回值
IEnumerableT枚举类 属性(Properties) 项的列表