I need to make a function that get all the properies of an object (including an children objects) This is for my error logging feature. Right now my code always returns 0 pr
The problem with your code is the PayPal Response types are members, NOT properties. Try:
MemberInfo[] memberInfos = thisObject.GetMembers(BindingFlags.Public|BindingFlags.Static|BindingFlags.Instance);