摘要: stringserverAction="设置";ServerAction sAction = (ServerAction)Enum.Parse(typeof(ServerAction), serverAction); if (Enum.IsDefined(typeof(ServerAction), sAction)) { //ok } 阅读全文
posted @ 2012-12-11 11:08 94cool 阅读(413) 评论(0) 推荐(0)