变量获取属性值

var name = item.GetType().GetProperty("Host1")!.GetValue(item);

posted on 2024-04-22 14:54  刘顺利  阅读(4)  评论(0编辑  收藏  举报

导航