|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Runtime Types in Reflection
Reflection provides classes, such asand , to represent types, members, parameters, and other code entities. However, when you use reflection you don't work directly with these classes, most of which are abstract (MustInherit in Visual Basic). Instead, you work with types provided by the common language runtime (CLR).
For example, when you use the C# typeof operator (GetType in Visual Basic) to obtain a Type object, the object is really a RuntimeType. RuntimeType derives from Type, and provides implementations of all the abstract methods.
These runtime classes are internal (Friend in Visual Basic). They are not documented separately from their base classes, because their behavior is described by the base class documentation.