Well, I know his lateness, I solve my problem a while ago, I will answer, I hope this can help someone.
reflextion, , .
foreach(PropertyDescriptor descrip in TypeDescriptor.GetProperties(COMObject))
{
if(descrip.Name == "Attribute Name")
{
foreach(PropertyDescriptor descrip2 in TypeDescriptor.GetProperties(descrip))
{
if(descrip2.Name == "sub attribute Name")
{
}
}
}
}
, , , COMObject :
int age;
string name;
Son Phill;
:
int age;
string name;
descrip.Name "age", "name" "Phill", (, condiiton true "Son" ), "age" "name",.
, -.