System.Reflection Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Ambiguous |
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. |
Assembly |
Represents an assembly, which is a reusable, versionable, and self-describing building block of a common language runtime application. |
Assembly |
Specifies an algorithm to hash all files in an assembly. This class cannot be inherited. |
Assembly |
Defines a company name custom attribute for an assembly manifest. |
Assembly |
Specifies the build configuration, such as retail or debug, for an assembly. |
Assembly |
Defines a copyright custom attribute for an assembly manifest. |
Assembly |
Specifies which culture the assembly supports. |
Assembly |
Defines a friendly default alias for an assembly manifest. |
Assembly |
Specifies that the assembly is not fully signed when created. |
Assembly |
Provides a text description for an assembly. |
Assembly |
|
Assembly |
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. |
Assembly |
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. |
Assembly |
Defines additional version information for an assembly manifest. |
Assembly |
Specifies the name of a file containing the key pair used to generate a strong name. |
Assembly |
Specifies the name of a key container within the CSP containing the key pair used to generate a strong name. |
Assembly |
Defines a key/value metadata pair for the decorated assembly. |
Assembly |
Describes an assembly's unique identity in full. |
Assembly |
Provides a remotable version of the |
Assembly |
Defines a product name custom attribute for an assembly manifest. |
Assembly |
Provides migration from an older, simpler strong name key to a larger key with a stronger hashing algorithm. |
Assembly |
Specifies a description for an assembly. |
Assembly |
Defines a trademark custom attribute for an assembly manifest. |
Assembly |
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. |
Constructor |
Discovers the attributes of a class constructor and provides access to constructor metadata. |
Constructor |
Provides methods to invoke the method specified by the provided ConstructorInfo. |
Custom |
Provides access to custom attribute data for assemblies, modules, types, members and parameters that are loaded into the reflection-only context. |
Custom |
Contains static methods for retrieving custom attributes. |
Custom |
The exception that is thrown when the binary format of a custom attribute is invalid. |
Default |
Defines the member of a type that is the default member used by InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]). |
Dispatch |
Provides a mechanism for instantiating proxy objects and handling their method dispatch. |
Event |
Discovers the attributes of an event and provides access to event metadata. |
Event |
|
Exception |
Represents a clause in a structured exception-handling block. |
Field |
Discovers the attributes of a field and provides access to field metadata. |
Introspection |
Contains methods for converting Type objects. |
Invalid |
The exception that is thrown in FindMembers(MemberTypes, BindingFlags, MemberFilter, Object) when the filter criteria is not valid for the type of filter you are using. |
Local |
Discovers the attributes of a local variable and provides access to local variable metadata. |
Manifest |
Provides access to manifest resources, which are XML files that describe application dependencies. |
Member |
Obtains information about the attributes of a member and provides access to member metadata. |
Member |
|
Metadata |
Provides the base class for binding algorithms used by MetadataLoadContext. |
Metadata |
Represents a closed universe of Type objects loaded for inspection-only purposes. Each MetadataLoadContext can have its own binding rules and is isolated from all other MetadataLoadContexts. |
Method |
Provides information about methods and constructors. |
Method |
Provides access to the metadata and MSIL for the body of a method. |
Method |
Discovers the attributes of a method and provides access to method metadata. |
Method |
|
Method |
Provides methods to invoke the method specified by the provided MethodBase. |
Missing |
Represents a missing Object. This class cannot be inherited. |
Module |
Performs reflection on a module. |
Module |
|
Nullability |
Represents nullability information. |
Nullability |
Provides APIs for populating nullability information and context from reflection members: ParameterInfo, FieldInfo, PropertyInfo, and EventInfo. |
Obfuscate |
Instructs obfuscation tools to use their standard obfuscation rules for the appropriate assembly type. |
Obfuscation |
Instructs obfuscation tools to take the specified actions for an assembly, type, or member. |
Parameter |
Discovers the attributes of a parameter and provides access to parameter metadata. |
Path |
Represents a metadata assembly resolver that uses paths to every assembly that may be loaded. |
Pointer |
Provides a wrapper class for pointers. |
Property |
Discovers the attributes of a property and provides access to property metadata. |
Property |
|
Reflection |
Represents a context that can provide reflection objects. |
Reflection |
The exception that is thrown by the GetTypes() method if any of the classes in a module cannot be loaded. This class cannot be inherited. |
Runtime |
Provides methods that retrieve information about types at run time. |
Strong |
Encapsulates access to a public or private key pair used to sign strong name assemblies. |
Target |
Represents the exception that is thrown when an attempt is made to invoke an invalid target. |
Target |
The exception that is thrown by methods invoked through reflection. This class cannot be inherited. |
Target |
The exception that is thrown when the number of parameters for an invocation does not match the number expected. This class cannot be inherited. |
Type |
Wraps a Type object and delegates methods to that |
Type |
|
Type |
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. |
Custom |
Represents a named argument of a custom attribute in the reflection-only context. |
Custom |
Represents an argument of a custom attribute in the reflection-only context, or an element of an array argument. |
Interface |
Retrieves the mapping of an interface into the actual methods on a class that implements that interface. |
Parameter |
Attaches a modifier to parameters so that binding can work with parameter signatures in which the types have been modified. |
ICustom |
Provides custom attributes for reflection objects that support them. |
ICustom |
Represents an object that provides a custom type. |
IReflect |
Interoperates with the IDispatch interface. |
IReflectable |
Represents a type that you can reflect over. |
Assembly |
Provides information about the type of code contained in an assembly. |
Assembly |
|
Assembly |
Specifies the hash algorithms used for hashing assembly files and for generating the strong name. |
Assembly |
Provides information about an Assembly reference. |
Binding |
Specifies flags that control binding and the way in which the search for members and types is conducted by reflection. |
Calling |
Defines the valid calling conventions for a method. |
Declarative |
Specifies the security actions that can be performed using declarative security. |
Event |
Specifies the attributes of an event. |
Exception |
Identifies kinds of exception-handling clauses. |
Field |
Specifies flags that describe the attributes of a field. |
Generic |
Describes the constraints on a generic type parameter of a generic type or method. |
Image |
Identifies the platform targeted by an executable. |
Manifest |
|
Member |
Marks each type of member that is defined as a derived class of MemberInfo. |
Method |
Specifies flags for method attributes. These flags are defined in the corhdr.h file. |
Method |
Specifies flags for the attributes of a method implementation. |
Method |
Specifies flags for the unmanaged method import attributes. |
Method |
|
Nullability |
Describes nullability states. |
Parameter |
Defines the attributes that can be associated with a parameter. These are defined in CorHdr.h. |
Portable |
Identifies the nature of the code in an executable file. |
Processor |
Identifies the processor and bits-per-word of the platform targeted by an executable. |
Property |
Defines the attributes that can be associated with a property. These attribute values are defined in corhdr.h. |
Resource |
Specifies the attributes for a manifest resource. |
Resource |
Specifies the resource location. |
Type |
Specifies type attributes. |
Member |
Represents a delegate that is used to filter a list of members represented in an array of MemberInfo objects. |
Module |
Represents the method that will handle the ModuleResolve event of an Assembly. |
Type |
Filters the classes represented in an array of Type objects. |
.NET feedback
.NET is an open source project. Select a link to provide feedback: