Edit

Share via


ReflectionTypeLoadException.Types Property

Definition

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

Type[]

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