Share via


Assembly.GetTypes Method

Gets the Type objects that represent all of the classes (types) defined in the current assembly.

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

Syntax

[MethodImplAttribute(MethodImplOptions.InternalCall)]
public virtual Type [] GetTypes ()

Return Value

An array of Type objects that represent all of the classes defined in the current assembly.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

Assembly Class
Assembly Members
System.Reflection Namespace