对象的属性赋值

 

 

            var property = condition.GetType().GetProperty("PropertyName");
            property.SetValue(condition, "value", null);

  

posted @ 2018-10-26 12:00  人生为卒  阅读(89)  评论(0编辑  收藏  举报