lundi 8 août 2016

Reflection to get public instance properties in UWP

I am porting a Silverlight application to UWP. In my Silverlight app, i get the public instance properties:

Type t;
t.GetProperties(BindingFlags.Instance | BindingFlags.Public);

In UWP it look like the GetProperties(BindingFlags.Instance | BindingFlags.Public) method is no longer available. Is there another way to accomplish this in UWP?

thank you.





Aucun commentaire:

Enregistrer un commentaire