List<TAXIWAY_CENTER_LINE> kk = allObjs.Where(c => c.ToString() == "AMXM.TAXIWAY_CENTER_LINE").Select(c=>(TAXIWAY_CENTER_LINE)c).ToList();
关键就在List<object>的 select(c=> (T) c ) 将每个object转成了T
posted on 2019-10-17 08:29 mol1995 阅读(5875) 评论(0) 编辑 收藏 举报