I am doing some dynamic form work based on properties within an object(creating a datagridview to populate the object). Everything works great until I have a List<>, and I get a Capacity and Count property but not the proper properties of said object.
dynamic ObjectToPopulate;
PropertyInfo[] PopulatedObjectProperties = ObjectToPopulate.GetType().GetProperties();
Any help is always appreciated.
Aucun commentaire:
Enregistrer un commentaire