ReflectionTypeLoadException.Types 属性

获取模块中定义并加载的类的数组。

**命名空间:**System.Reflection
**程序集:**mscorlib(在 mscorlib.dll 中)

语法

声明
Public ReadOnly Property Types As Type()
用法
Dim instance As ReflectionTypeLoadException
Dim value As Type()

value = instance.Types
public Type[] Types { get; }
public:
property array<Type^>^ Types {
    array<Type^>^ get ();
}
/** @property */
public Type[] get_Types ()
public function get Types () : Type[]

属性值

包含模块中定义并加载的类的 Type 类型数组。此数组可以包含一些 空引用(在 Visual Basic 中为 Nothing) 值。

备注

LoaderExceptions 属性检索与 Types 数组相似的 Exception 类型数组。每当反映无法加载类时,此数组都包含空值。

平台

Windows 98、Windows 2000 SP4、Windows Millennium Edition、Windows Server 2003、Windows XP Media Center Edition、Windows XP Professional x64 Edition、Windows XP SP2、Windows XP Starter Edition

.NET Framework 并不是对每个平台的所有版本都提供支持。有关受支持版本的列表,请参见系统要求

版本信息

.NET Framework

受以下版本支持:2.0、1.1、1.0

请参见

参考

ReflectionTypeLoadException 类
ReflectionTypeLoadException 成员
System.Reflection 命名空间