Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
无论如何在运行时确定一个类型是否是 WinRT 类?即,如果它的 WinRT 以一种方式运行,如果它不是,那么它以另一种方式运行?
来自http://blogs.msdn.com/b/ptorr/archive/2012/05/27/loading-winrt-types-via-reflection-in-windows-8.aspx
看起来您可以获取AssemblyQualifiedName并查看它是否包含ContentType=WindowsRuntime.
AssemblyQualifiedName
ContentType=WindowsRuntime