【发布时间】:2013-08-09 01:37:35
【问题描述】:
Class A
{
public B child {get; set;}
}
Class B
{
public string childProperty {get; set;}
}
我得到所有财产
var BType = AType.GetType().GetProperty("child");
我能够获得 A 的“子”属性,但如何从 BType 获得“子属性”?
【问题讨论】:
标签: c# .net reflection properties nested