System.Reflection
Namespace: System
Description: Provides types that allow runtime inspection of the composition of any given assembly and that enable the dynamic creation and invocation of methods or constructors. Reflection is a powerful feature that allows you to examine metadata and code at runtime.
Classes
Assembly
public sealed class AssemblyRepresents an assembly, which is a partially trusted module that can include type information, so that it can be inspected at runtime and so that it can be instantiated.
Type
public abstract class TypeRepresents type declarations: containers for members of each other, and the existence of fields and the exception, and the kind of generics, and so forth.
MethodBase
public abstract class MethodBase : MemberInfoThe base class for all methods, constructors, and properties.
ConstructorInfo
public abstract class ConstructorInfo : MethodBaseSearches for constructors, and invokes them.
MethodInfo
public abstract class MethodInfo : MethodBaseRepresents a method on a type.
FieldInfo
public abstract class FieldInfo : MemberInfoProvides access to fields and properties, and enables dynamic access to fields and properties.
PropertyInfo
public abstract class PropertyInfo : MemberInfoRepresents a property on a type.
EventInfo
public abstract class EventInfo : MemberInfoRepresents an event on a type.
ParameterInfo
public sealed class ParameterInfoDescribes the parameters of a constructor, method, or property accessor.
Module
public abstract class ModuleRepresents a module (a DLL or EXE file) within an assembly.
Interfaces
IReflectionEmit
public interface IReflectionEmitProvides access to the code generation services of a dynamic module.
Enumerations
BindingFlags
public enum BindingFlags : intSpecifies flags that control MemberInfo retrieval operations.
TypeAttributes
public enum TypeAttributes : intSpecifies the attributes of a type declaration.
Attributes
ReflectionInvokeAttribute
public sealed class ReflectionInvokeAttribute : AttributeIdentifies a method that can be invoked using reflection.