This documentation is archived and is not being maintained.

ReflectionTypeLoadException.Types Property

Gets the array of classes that were defined in the module and loaded.

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)

Public ReadOnly Property Types As Type()
Dim instance As ReflectionTypeLoadException
Dim value As Type()

value = instance.Types

/** @property */
public Type[] get_Types ()

public function get Types () : Type[]

Not applicable.

Property Value

An array of type Type containing the classes that were defined in the module and loaded. This array can contain some a null reference (Nothing in Visual Basic) values.

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.

Windows 98, Windows Server 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

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0