ReflectionTypeLoadException.Types 属性

定义

获取模块中定义并加载的类的数组。Gets the array of classes that were defined in the module and loaded.

public:
 property cli::array <Type ^> ^ Types { cli::array <Type ^> ^ get(); };
public Type[] Types { get; }
member this.Types : Type[]
Public ReadOnly Property Types As Type()

属性值

Type[]

Type 类型的数组,其中包含在模块中定义并加载的类。An array of type Type containing the classes that were defined in the module and loaded. 该数组可以包含一些 null 值。This array can contain some null values.

注解

属性检索与此Exception Types数组并行的类型的数组。 LoaderExceptionsThe LoaderExceptions property retrieves an array of type Exception that is parallel to this Types array. 当反射无法加载类时, 此数组将包含 null 值。This array will contain null values whenever reflection cannot load a class.

适用于