Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

System.Reflection Namespace

The System.Reflection namespace contains classes and interfaces that provide a managed view of loaded types, methods, and fields, with the ability to dynamically create and invoke types.

Namespace hierarchy

Classes

Class Description
AmbiguousMatchException The exception that is thrown when binding to a method results in more than one method matching the binding criteria. This class cannot be inherited.
Assembly Defines an Assembly, which is a reusable, versionable, and self-describing building block of a common language runtime application.
AssemblyAlgorithmIdAttribute Specifies an algorithm to hash all files in an assembly. This class cannot be inherited.
AssemblyCompanyAttribute Defines a company name custom attribute for an assembly manifest.
AssemblyConfigurationAttribute Defines an assembly configuration custom attribute (such as retail or debug) for an assembly manifest.
AssemblyCopyrightAttribute Defines a copyright custom attribute for an assembly manifest.
AssemblyCultureAttribute Specifies which culture the assembly supports.
AssemblyDefaultAliasAttribute Defines a friendly default alias for an assembly manifest.
AssemblyDelaySignAttribute Specifies that the assembly is not fully signed when created.
AssemblyDescriptionAttribute Defines an assembly description custom attribute for an assembly manifest.
AssemblyFileVersionAttribute Instructs a compiler to use a specific version number for the Win32 file version resource. The Win32 file version is not required to be the same as the assembly's version number.
AssemblyFlagsAttribute Specifies whether an assembly supports side-by-side execution on the same computer, in the same process, or in the same application domain. This class cannot be inherited.
AssemblyInformationalVersionAttribute Defines additional version information for an assembly manifest.
AssemblyKeyFileAttribute Specifies the name of a file containing the key pair used to generate a strong name.
AssemblyKeyNameAttribute Specifies the name of a key container within the CSP containing the key pair used to generate a strong name.
AssemblyName Describes an assembly's unique identity in full.
AssemblyNameProxy Provides a remotable version of the AssemblyName.
AssemblyProductAttribute Defines a product name custom attribute for an assembly manifest.
AssemblyTitleAttribute Defines an assembly title custom attribute for an assembly manifest.
AssemblyTrademarkAttribute Defines a trademark custom attribute for an assembly manifest.
AssemblyVersionAttribute Specifies the version of the assembly being attributed.
Binder Selects a member from a list of candidates, and performs type conversion from actual argument type to formal argument type.
ConstructorInfo Discovers the attributes of a class constructor and provides access to constructor metadata.
CustomAttributeFormatException The exception that is thrown when the binary format of a custom attribute is invalid.
DefaultMemberAttribute Defines the member of a type that is the default member used by InvokeMember. The default member is a name given to a type.
EventInfo Discovers the attributes of an event and provides access to event metadata.
FieldInfo Discovers the attributes of a field and provides access to field metadata.
InvalidFilterCriteriaException The exception that is thrown in FindMembers when the filter criteria is not valid for the type of filter you are using.
ManifestResourceInfo Contains manifest resource topology information.
MemberInfo Discovers the attributes of a member and provides access to member metadata.
MethodBase Provides information about methods and constructors.
MethodInfo Discovers the attributes of a method and provides access to method metadata.
Missing Represents a missing Object. This class cannot be inherited.
Module Performs reflection on a module.
ParameterInfo Discovers the attributes of a parameter and provides access to parameter metadata.
Pointer Provides a wrapper class for pointers.
PropertyInfo Discovers the attributes of a property and provides access to property metadata.
ReflectionTypeLoadException The exception that is thrown by the Module.GetTypes method if any of the classes in a module cannot be loaded. This class cannot be inherited.
StrongNameKeyPair Encapsulates access to a public or private key pair used to sign strong name assemblies.
TargetException Represents the exception that is thrown when an attempt is made to invoke an invalid target.
TargetInvocationException The exception that is thrown by methods invoked through reflection. This class cannot be inherited.
TargetParameterCountException The exception that is thrown when the number of parameters for an invocation does not match the number expected. This class cannot be inherited.
TypeDelegator Wraps a Type object and delegates all methods to that Type.

Interfaces

Interface Description
ICustomAttributeProvider Provides custom attributes for reflection objects that support them.
IReflect Allows objects to return MemberInfo objects that represent an object.

Structures

Structure Description
InterfaceMapping Retrieves the mapping of an interface into the actual methods on a class that implements that interface.
ParameterModifier Attaches a modifier to parameters so that binding can work with parameter signatures in which the types have been modified.

Delegates

Delegate Description
MemberFilter Represents a delegate that is used to filter a list of members represented in an array of MemberInfo objects.
ModuleResolveEventHandler Represents the method that will handle the ModuleResolve event of an Assembly.
TypeFilter Filters the classes represented in an array of Type objects.

Enumerations

Enumeration Description
AssemblyNameFlags Provides information about an Assembly reference.
BindingFlags Specifies flags that control binding and the way in which the search for members and types is conducted by reflection.
CallingConventions Defines the valid calling conventions for an enumeration.
EventAttributes Specifies the attributes of an event.
FieldAttributes Specifies flags that describe the attributes of a field.
MemberTypes Marks each type of member that is defined as a derived class of MemberInfo.
MethodAttributes Specifies flags for method attributes. These flags are defined in the corhdr.h file.
MethodImplAttributes Specifies flags for the attributes of a method implementation.
ParameterAttributes Defines the attributes that can be associated with a parameter. These are defined in CorHdr.h.
PropertyAttributes Defines the attributes that can be associated with a property. These attribute values are defined in corhdr.h.
ResourceAttributes Specifies the attributes for a manifest resource.
ResourceLocation Specifies the resource location.
TypeAttributes Specifies type attributes.

See Also

.NET Framework Class Library

Show:
© 2014 Microsoft