将枚举类型转化字符串数组
string[] panelNames = Enum.GetNames (typeof(UIPanelType));

返回一个字符串的数组,UIPanelType是一个枚举类型

Enum在System命名空间下


首页 我的博客
粤ICP备17103704号