System.Reflection Namespace
 

The System.Reflection namespace contains types that retrieve information about assemblies, modules, members, parameters, and other entities in managed code by examining their metadata. These types also can be used to manipulate instances of loaded types, for example to hook up events or to invoke methods. To dynamically create types, use the System.Reflection.Emit namespace.

ClassDescription
System_CAPS_pubclass AmbiguousMatchException

The exception that is thrown when binding to a member results in more than one member matching the binding criteria. This class cannot be inherited.

System_CAPS_pubclass Assembly

Represents an assembly, which is a reusable, versionable, and self-describing building block of a common language runtime application.

System_CAPS_pubclass AssemblyAlgorithmIdAttribute

Specifies an algorithm to hash all files in an assembly. This class cannot be inherited.

System_CAPS_pubclass AssemblyCompanyAttribute

Defines a company name custom attribute for an assembly manifest.

System_CAPS_pubclass AssemblyConfigurationAttribute

Specifies the build configuration, such as retail or debug, for an assembly.

System_CAPS_pubclass AssemblyCopyrightAttribute

Defines a copyright custom attribute for an assembly manifest.

System_CAPS_pubclass AssemblyCultureAttribute

Specifies which culture the assembly supports.

System_CAPS_pubclass AssemblyDefaultAliasAttribute

Defines a friendly default alias for an assembly manifest.

System_CAPS_pubclass AssemblyDelaySignAttribute

Specifies that the assembly is not fully signed when created.

System_CAPS_pubclass AssemblyDescriptionAttribute

Provides a text description for an assembly.

System_CAPS_pubclass 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.

System_CAPS_pubclass AssemblyFlagsAttribute

Specifies a bitwise combination of AssemblyNameFlags flags for an assembly, describing just-in-time (JIT) compiler options, whether the assembly is retargetable, and whether it has a full or tokenized public key. This class cannot be inherited.

System_CAPS_pubclass AssemblyInformationalVersionAttribute

Defines additional version information for an assembly manifest.

System_CAPS_pubclass AssemblyKeyFileAttribute

Specifies the name of a file containing the key pair used to generate a strong name.

System_CAPS_pubclass AssemblyKeyNameAttribute

Specifies the name of a key container within the CSP containing the key pair used to generate a strong name.

System_CAPS_pubclass AssemblyMetadataAttribute

Defines a key/value metadata pair for the decorated assembly.

System_CAPS_pubclass AssemblyName

Describes an assembly's unique identity in full.

System_CAPS_pubclass AssemblyNameProxy

Provides a remotable version of the AssemblyName.

System_CAPS_pubclass AssemblyProductAttribute

Defines a product name custom attribute for an assembly manifest.

System_CAPS_pubclass AssemblySignatureKeyAttribute

Provides migration from an older, simpler strong name key to a larger key with a stronger hashing algorithm.

System_CAPS_pubclass AssemblyTitleAttribute

Specifies a description for an assembly.

System_CAPS_pubclass AssemblyTrademarkAttribute

Defines a trademark custom attribute for an assembly manifest.

System_CAPS_pubclass AssemblyVersionAttribute

Specifies the version of the assembly being attributed.

System_CAPS_pubclass Binder

Selects a member from a list of candidates, and performs type conversion from actual argument type to formal argument type.

System_CAPS_pubclass ConstructorInfo

Discovers the attributes of a class constructor and provides access to constructor metadata.

System_CAPS_pubclass CustomAttributeData

Provides access to custom attribute data for assemblies, modules, types, members and parameters that are loaded into the reflection-only context.

System_CAPS_pubclass CustomAttributeExtensions

Contains static methods for retrieving custom attributes.

System_CAPS_pubclass CustomAttributeFormatException

The exception that is thrown when the binary format of a custom attribute is invalid.

System_CAPS_pubclass DefaultMemberAttribute

Defines the member of a type that is the default member used by InvokeMember.

System_CAPS_pubclass EventInfo

Discovers the attributes of an event and provides access to event metadata.

System_CAPS_pubclass ExceptionHandlingClause

Represents a clause in a structured exception-handling block.

System_CAPS_pubclass FieldInfo

Discovers the attributes of a field and provides access to field metadata.

System_CAPS_pubclass IntrospectionExtensions

Contains methods for converting Type objects.

System_CAPS_pubclass InvalidFilterCriteriaException

The exception that is thrown in FindMembers when the filter criteria is not valid for the type of filter you are using.

System_CAPS_pubclass LocalVariableInfo

Discovers the attributes of a local variable and provides access to local variable metadata.

System_CAPS_pubclass ManifestResourceInfo

Provides access to manifest resources, which are XML files that describe application dependencies.

System_CAPS_pubclass MemberInfo

Obtains information about the attributes of a member and provides access to member metadata.

System_CAPS_pubclass MethodBase

Provides information about methods and constructors.

System_CAPS_pubclass MethodBody

Provides access to the metadata and MSIL for the body of a method.

System_CAPS_pubclass MethodInfo

Discovers the attributes of a method and provides access to method metadata.

System_CAPS_pubclass Missing

Represents a missing Object. This class cannot be inherited.

System_CAPS_pubclass Module

Performs reflection on a module.

System_CAPS_pubclass ObfuscateAssemblyAttribute

Instructs obfuscation tools to use their standard obfuscation rules for the appropriate assembly type.

System_CAPS_pubclass ObfuscationAttribute

Instructs obfuscation tools to take the specified actions for an assembly, type, or member.

System_CAPS_pubclass ParameterInfo

Discovers the attributes of a parameter and provides access to parameter metadata.

System_CAPS_pubclass Pointer

Provides a wrapper class for pointers.

System_CAPS_pubclass PropertyInfo

Discovers the attributes of a property and provides access to property metadata.

System_CAPS_pubclass ReflectionContext

Represents a context that can provide reflection objects.

System_CAPS_pubclass ReflectionTypeLoadException

The exception that is thrown by the ModuleGetTypes method if any of the classes in a module cannot be loaded. This class cannot be inherited.

System_CAPS_pubclass RuntimeReflectionExtensions

Provides methods that retrieve information about types at run time.

System_CAPS_pubclass StrongNameKeyPair

Encapsulates access to a public or private key pair used to sign strong name assemblies.

System_CAPS_pubclass TargetException

Represents the exception that is thrown when an attempt is made to invoke an invalid target.

System_CAPS_pubclass TargetInvocationException

The exception that is thrown by methods invoked through reflection. This class cannot be inherited.

System_CAPS_pubclass 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.

System_CAPS_pubclass TypeDelegator

Wraps a SystemType object and delegates methods to that Type.

System_CAPS_pubclass TypeInfo

Represents type declarations for class types, interface types, array types, value types, enumeration types, type parameters, generic type definitions, and open or closed constructed generic types.

StructureDescription
System_CAPS_pubstructure CustomAttributeNamedArgument

Represents a named argument of a custom attribute in the reflection-only context.

System_CAPS_pubstructure CustomAttributeTypedArgument

Represents an argument of a custom attribute in the reflection-only context, or an element of an array argument.

System_CAPS_pubstructure InterfaceMapping

Retrieves the mapping of an interface into the actual methods on a class that implements that interface.

System_CAPS_pubstructure ParameterModifier

Attaches a modifier to parameters so that binding can work with parameter signatures in which the types have been modified.

InterfaceDescription
System_CAPS_pubinterface ICustomAttributeProvider

Provides custom attributes for reflection objects that support them.

System_CAPS_pubinterface ICustomTypeProvider

Represents an object that provides a custom type.

System_CAPS_pubinterface IReflect

Interoperates with the IDispatch interface.

System_CAPS_pubinterface IReflectableType

Represents a type that you can reflect over.

DelegateDescription
System_CAPS_pubdelegate MemberFilter

Represents a delegate that is used to filter a list of members represented in an array of MemberInfo objects.

System_CAPS_pubdelegate ModuleResolveEventHandler

Represents the method that will handle the ModuleResolve event of an Assembly.

System_CAPS_pubdelegate TypeFilter

Filters the classes represented in an array of Type objects.

EnumerationDescription
System_CAPS_pubenum AssemblyContentType

Provides information about the type of code contained in an assembly.

System_CAPS_pubenum AssemblyNameFlags

Provides information about an Assembly reference.

System_CAPS_pubenum BindingFlags

Specifies flags that control binding and the way in which the search for members and types is conducted by reflection.

System_CAPS_pubenum CallingConventions

Defines the valid calling conventions for a method.

System_CAPS_pubenum EventAttributes

Specifies the attributes of an event.

System_CAPS_pubenum ExceptionHandlingClauseOptions

Identifies kinds of exception-handling clauses.

System_CAPS_pubenum FieldAttributes

Specifies flags that describe the attributes of a field.

System_CAPS_pubenum GenericParameterAttributes

Describes the constraints on a generic type parameter of a generic type or method.

System_CAPS_pubenum ImageFileMachine

Identifies the platform targeted by an executable.

System_CAPS_pubenum MemberTypes

Marks each type of member that is defined as a derived class of MemberInfo.

System_CAPS_pubenum MethodAttributes

Specifies flags for method attributes. These flags are defined in the corhdr.h file.

System_CAPS_pubenum MethodImplAttributes

This API supports the product infrastructure and is not intended to be used directly from your code. Specifies flags for the attributes of a method implementation.

System_CAPS_pubenum ParameterAttributes

Defines the attributes that can be associated with a parameter. These are defined in CorHdr.h.

System_CAPS_pubenum PortableExecutableKinds

Identifies the nature of the code in an executable file.

System_CAPS_pubenum ProcessorArchitecture

Identifies the processor and bits-per-word of the platform targeted by an executable.

System_CAPS_pubenum PropertyAttributes

Defines the attributes that can be associated with a property. These attribute values are defined in corhdr.h.

System_CAPS_pubenum ResourceAttributes

Specifies the attributes for a manifest resource.

System_CAPS_pubenum ResourceLocation

Specifies the resource location.

System_CAPS_pubenum TypeAttributes

Specifies type attributes.

Return to top