字符串转换成枚举值
字符串转换成枚举值
public enum eOutputType
{
None=0,天才=1
}
eOutputType tmp = (eOutputType)(Enum.Parse(typeof(eOutputType), "天才");
public enum eOutputType
{
None=0,天才=1
}
eOutputType tmp = (eOutputType)(Enum.Parse(typeof(eOutputType), "天才");
posted on 2007-08-26 17:39 Clark Chan 阅读(3686) 评论(3) 收藏 举报
浙公网安备 33010602011771号