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.

備註

LoaderExceptions 屬性會抓取與這個 Types 陣列平行 Exception 類型的陣列。The 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.

適用於