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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.