ReflectionTypeLoadException.Types Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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; }
public Type?[] Types { get; }
public Type[]? Types { get; }
member this.Types : Type[]
Public ReadOnly Property Types As Type()
Property Value
An array of type Type
containing the classes that were defined in the module and loaded. This array can contain some null
values.
Remarks
The LoaderExceptions property retrieves an array of type Exception
that is parallel to this Types
array. This array will contain null values whenever reflection cannot load a class.
Applies to
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk