sqlite - C# System.Type doesn't contains GetProperties() -


this question has answer here:

i created universal app uses sqlite. created method uses gettype().getproperties() problem in previous version of app(not universal), used method , worked perfectly, can't use him couse type class doesn't contains it.

i checked system.type class , header of working one:

#region assembly mscorlib.dll, v2.0.5.0 // c:\program files (x86)\reference assemblies\microsoft\framework\windowsphone\v8.0\mscorlib.dll #endregion  using system.globalization; using system.reflection; using system.security; 

and header of universal app's one:

    #region assembly system.runtime.dll, v4.0.10.0 // c:\program files (x86)\reference assemblies\microsoft\framework\windowsphoneapp\v8.1\system.runtime.dll #endregion  using system.security; 

the second doesn't contain getmethod, or getproperties, or lot of other methods.

the difference universal app had 8.1 destination , windows phone app has 8.0. ideas on how use type.getproperties() method?

use gettype().getruntimeproperties() instead of gettype().getproperties() universal apps.


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -