M
M
When I examine an object using getProperties() like so:
foreach (PropertyInfo proc in properties) {
fsObj.propertyName = proc.Name;
Console.Writeline(t + fsObj.propertyName);
}
I am returned the following:
MyCompany.MyClass.Subclass.PropertyName
The above result looks to be the fully qualified namespace name of the
object and property. What I really want is just the
SubClass.propertyName
How can I get this information?
Thank you!
foreach (PropertyInfo proc in properties) {
fsObj.propertyName = proc.Name;
Console.Writeline(t + fsObj.propertyName);
}
I am returned the following:
MyCompany.MyClass.Subclass.PropertyName
The above result looks to be the fully qualified namespace name of the
object and property. What I really want is just the
SubClass.propertyName
How can I get this information?
Thank you!