System.Reflection
TOC
Collapse the table of content
Expand the table of content

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_pubclassAmbiguousMatchException

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_pubclassAssembly

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

System_CAPS_pubclassAssemblyAlgorithmIdAttribute

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

System_CAPS_pubclassAssemblyCompanyAttribute

Defines a company name custom attribute for an assembly manifest.

System_CAPS_pubclassAssemblyConfigurationAttribute

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

System_CAPS_pubclassAssemblyCopyrightAttribute

Defines a copyright custom attribute for an assembly manifest.

System_CAPS_pubclassAssemblyCultureAttribute

Specifies which culture the assembly supports.

System_CAPS_pubclassAssemblyDefaultAliasAttribute

Defines a friendly default alias for an assembly manifest.

System_CAPS_pubclassAssemblyDelaySignAttribute

Specifies that the assembly is not fully signed when created.

System_CAPS_pubclassAssemblyDescriptionAttribute

Provides a text description for an assembly.

System_CAPS_pubclassAssemblyFileVersionAttribute

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_pubclassAssemblyFlagsAttribute

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_pubclassAssemblyInformationalVersionAttribute

Defines additional version information for an assembly manifest.

System_CAPS_pubclassAssemblyKeyFileAttribute

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

System_CAPS_pubclassAssemblyKeyNameAttribute

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

System_CAPS_pubclassAssemblyMetadataAttribute

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

System_CAPS_pubclassAssemblyName

Describes an assembly's unique identity in full.

System_CAPS_pubclassAssemblyNameProxy

Provides a remotable version of the AssemblyName.

System_CAPS_pubclassAssemblyProductAttribute

Defines a product name custom attribute for an assembly manifest.

System_CAPS_pubclassAssemblySignatureKeyAttribute

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

System_CAPS_pubclassAssemblyTitleAttribute

Specifies a description for an assembly.

System_CAPS_pubclassAssemblyTrademarkAttribute

Defines a trademark custom attribute for an assembly manifest.

System_CAPS_pubclassAssemblyVersionAttribute

Specifies the version of the assembly being attributed.

System_CAPS_pubclassBinder

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

System_CAPS_pubclassConstructorInfo

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

System_CAPS_pubclassCustomAttributeData

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

System_CAPS_pubclassCustomAttributeExtensions

Contains static methods for retrieving custom attributes.

System_CAPS_pubclassCustomAttributeFormatException

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

System_CAPS_pubclassDefaultMemberAttribute

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

System_CAPS_pubclassEventInfo

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

System_CAPS_pubclassExceptionHandlingClause

Represents a clause in a structured exception-handling block.

System_CAPS_pubclassFieldInfo

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

System_CAPS_pubclassIntrospectionExtensions

Contains methods for converting Type objects.

System_CAPS_pubclassInvalidFilterCriteriaException

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

System_CAPS_pubclassLocalVariableInfo

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

System_CAPS_pubclassManifestResourceInfo

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

System_CAPS_pubclassMemberInfo

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

System_CAPS_pubclassMethodBase

Provides information about methods and constructors.

System_CAPS_pubclassMethodBody

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

System_CAPS_pubclassMethodInfo

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

System_CAPS_pubclassMissing

Represents a missing Object. This class cannot be inherited.

System_CAPS_pubclassModule

Performs reflection on a module.

System_CAPS_pubclassObfuscateAssemblyAttribute

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

System_CAPS_pubclassObfuscationAttribute

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

System_CAPS_pubclassParameterInfo

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

System_CAPS_pubclassPointer

Provides a wrapper class for pointers.

System_CAPS_pubclassPropertyInfo

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

System_CAPS_pubclassReflectionContext

Represents a context that can provide reflection objects.

System_CAPS_pubclassReflectionTypeLoadException

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.

System_CAPS_pubclassRuntimeReflectionExtensions

Provides methods that retrieve information about types at run time.

System_CAPS_pubclassStrongNameKeyPair

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

System_CAPS_pubclassTargetException

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

System_CAPS_pubclassTargetInvocationException

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

System_CAPS_pubclassTargetParameterCountException

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_pubclassTypeDelegator

Wraps a System.Type object and delegates methods to that Type.

System_CAPS_pubclassTypeInfo

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_pubstructureCustomAttributeNamedArgument

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

System_CAPS_pubstructureCustomAttributeTypedArgument

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

System_CAPS_pubstructureInterfaceMapping

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

System_CAPS_pubstructureParameterModifier

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

InterfaceDescription
System_CAPS_pubinterfaceICustomAttributeProvider

Provides custom attributes for reflection objects that support them.

System_CAPS_pubinterfaceICustomTypeProvider

Represents an object that provides a custom type.

System_CAPS_pubinterfaceIReflect

Interoperates with the IDispatch interface.

System_CAPS_pubinterfaceIReflectableType

Represents a type that you can reflect over.

DelegateDescription
System_CAPS_pubdelegateMemberFilter

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

System_CAPS_pubdelegateModuleResolveEventHandler

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

System_CAPS_pubdelegateTypeFilter

Filters the classes represented in an array of Type objects.

EnumerationDescription
System_CAPS_pubenumAssemblyContentType

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

System_CAPS_pubenumAssemblyNameFlags

Provides information about an Assembly reference.

System_CAPS_pubenumBindingFlags

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

System_CAPS_pubenumCallingConventions

Defines the valid calling conventions for a method.

System_CAPS_pubenumEventAttributes

Specifies the attributes of an event.

System_CAPS_pubenumExceptionHandlingClauseOptions

Identifies kinds of exception-handling clauses.

System_CAPS_pubenumFieldAttributes

Specifies flags that describe the attributes of a field.

System_CAPS_pubenumGenericParameterAttributes

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

System_CAPS_pubenumImageFileMachine

Identifies the platform targeted by an executable.

System_CAPS_pubenumMemberTypes

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

System_CAPS_pubenumMethodAttributes

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

System_CAPS_pubenumMethodImplAttributes

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_pubenumParameterAttributes

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

System_CAPS_pubenumPortableExecutableKinds

Identifies the nature of the code in an executable file.

System_CAPS_pubenumProcessorArchitecture

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

System_CAPS_pubenumPropertyAttributes

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

System_CAPS_pubenumResourceAttributes

Specifies the attributes for a manifest resource.

System_CAPS_pubenumResourceLocation

Specifies the resource location.

System_CAPS_pubenumTypeAttributes

Specifies type attributes.

Return to top
Show:
© 2016 Microsoft