i porting silverlight application uwp. in silverlight app, public instance properties:
type t; t.getproperties(bindingflags.instance | bindingflags.public);
in uwp getproperties(bindingflags.instance | bindingflags.public) method no longer available. there way accomplish in uwp?
thank you.
from msdn source, can following:
var props = t.gettypeinfo().declaredproperties .where(x => x.getmethod.ispublic);
Comments
Post a Comment