对象的属性赋值

it2025-04-07  11

 

 

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

  

转载于:https://www.cnblogs.com/lhlong/p/9855559.html

最新回复(0)