Expand Minimize
12 out of 15 rated this helpful - Rate this topic

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
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsAmbiguousMatchExceptionThe exception that is thrown when binding to a member results in more than one member matching the binding criteria. This class cannot be inherited.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsAssemblyRepresents an assembly, which is a reusable, versionable, and self-describing building block of a common language runtime application.
Public classAssemblyAlgorithmIdAttributeSpecifies an algorithm to hash all files in an assembly. This class cannot be inherited.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsAssemblyCompanyAttributeDefines a company name custom attribute for an assembly manifest.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsAssemblyConfigurationAttributeSpecifies the build configuration, such as retail or debug, for an assembly.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsAssemblyCopyrightAttributeDefines a copyright custom attribute for an assembly manifest.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsAssemblyCultureAttributeSpecifies which culture the assembly supports.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsAssemblyDefaultAliasAttributeDefines a friendly default alias for an assembly manifest.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsAssemblyDelaySignAttributeSpecifies that the assembly is not fully signed when created.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsAssemblyDescriptionAttributeProvides a text description for an assembly.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsAssemblyFileVersionAttributeInstructs 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.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsAssemblyFlagsAttributeSpecifies 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.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsAssemblyInformationalVersionAttributeDefines additional version information for an assembly manifest.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsAssemblyKeyFileAttributeSpecifies the name of a file containing the key pair used to generate a strong name.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsAssemblyKeyNameAttributeSpecifies the name of a key container within the CSP containing the key pair used to generate a strong name.
Public classSupported in .NET for Windows Store appsAssemblyMetadataAttributeDefines a key/value metadata pair for the decorated assembly.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsAssemblyNameDescribes an assembly's unique identity in full.
Public classAssemblyNameProxyProvides a remotable version of the AssemblyName.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsAssemblyProductAttributeDefines a product name custom attribute for an assembly manifest.
Public classSupported in .NET for Windows Store appsAssemblySignatureKeyAttributeProvides migration from an older, simpler strong name key to a larger key with a stronger hashing algorithm.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsAssemblyTitleAttributeSpecifies a description for an assembly.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsAssemblyTrademarkAttributeDefines a trademark custom attribute for an assembly manifest.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsAssemblyVersionAttributeSpecifies the version of the assembly being attributed.
Public classBinderSelects a member from a list of candidates, and performs type conversion from actual argument type to formal argument type.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsConstructorInfoDiscovers the attributes of a class constructor and provides access to constructor metadata.
Public classSupported in .NET for Windows Store appsCustomAttributeDataProvides access to custom attribute data for assemblies, modules, types, members and parameters that are loaded into the reflection-only context.
Public classSupported in .NET for Windows Store appsCustomAttributeExtensionsContains static methods for retrieving custom attributes.
Public classCustomAttributeFormatExceptionThe exception that is thrown when the binary format of a custom attribute is invalid.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsDefaultMemberAttributeDefines the member of a type that is the default member used by InvokeMember.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsEventInfoDiscovers the attributes of an event and provides access to event metadata.
Public classExceptionHandlingClauseRepresents a clause in a structured exception-handling block.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsFieldInfoDiscovers the attributes of a field and provides access to field metadata.
Public classSupported in .NET for Windows Store appsIntrospectionExtensionsContains methods for converting Type objects.
Public classInvalidFilterCriteriaExceptionThe exception that is thrown in FindMembers when the filter criteria is not valid for the type of filter you are using.
Public classSupported in .NET for Windows Store appsLocalVariableInfoDiscovers the attributes of a local variable and provides access to local variable metadata.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsManifestResourceInfoProvides access to manifest resources, which are XML files that describe application dependencies.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsMemberInfoObtains information about the attributes of a member and provides access to member metadata.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsMethodBaseProvides information about methods and constructors.
Public classMethodBodyProvides access to the metadata and MSIL for the body of a method.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsMethodInfoDiscovers the attributes of a method and provides access to method metadata.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsMissingRepresents a missing Object. This class cannot be inherited.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsModulePerforms reflection on a module.
Public classObfuscateAssemblyAttributeInstructs obfuscation tools to use their standard obfuscation rules for the appropriate assembly type.
Public classObfuscationAttributeInstructs obfuscation tools to take the specified actions for an assembly, type, or member.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsParameterInfoDiscovers the attributes of a parameter and provides access to parameter metadata.
Public classPointerProvides a wrapper class for pointers.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsPropertyInfoDiscovers the attributes of a property and provides access to property metadata.
Public classSupported in .NET for Windows Store appsReflectionContextRepresents a context that can provide reflection objects.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsReflectionTypeLoadExceptionThe 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.
Public classSupported in .NET for Windows Store appsRuntimeReflectionExtensionsProvides methods that retrieve information about types at run time.
Public classStrongNameKeyPairEncapsulates access to a public or private key pair used to sign strong name assemblies.
Public classTargetExceptionRepresents the exception that is thrown when an attempt is made to invoke an invalid target.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsTargetInvocationExceptionThe exception that is thrown by methods invoked through reflection. This class cannot be inherited.
Public classSupported by Portable Class LibrarySupported in .NET for Windows Store appsTargetParameterCountExceptionThe exception that is thrown when the number of parameters for an invocation does not match the number expected. This class cannot be inherited.
Public classTypeDelegatorWraps a System.Type object and delegates methods to that Type.
Public classSupported in .NET for Windows Store appsTypeInfoRepresents 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
Public structureSupported in .NET for Windows Store appsCustomAttributeNamedArgumentRepresents a named argument of a custom attribute in the reflection-only context.
Public structureSupported in .NET for Windows Store appsCustomAttributeTypedArgumentRepresents an argument of a custom attribute in the reflection-only context, or an element of an array argument.
Public structureSupported in .NET for Windows Store appsInterfaceMappingRetrieves the mapping of an interface into the actual methods on a class that implements that interface.
Public structureParameterModifierAttaches a modifier to parameters so that binding can work with parameter signatures in which the types have been modified.
  InterfaceDescription
Public interfaceICustomAttributeProviderProvides custom attributes for reflection objects that support them.
Public interfaceICustomTypeProviderRepresents an object that provides a custom type.
Public interfaceIReflectInteroperates with the IDispatch interface.
Public interfaceSupported in .NET for Windows Store appsIReflectableTypeRepresents a type that you can reflect over.
  DelegateDescription
Public delegateMemberFilterRepresents a delegate that is used to filter a list of members represented in an array of MemberInfo objects.
Public delegateModuleResolveEventHandlerRepresents the method that will handle the ModuleResolve event of an Assembly.
Public delegateTypeFilterFilters the classes represented in an array of Type objects.
  EnumerationDescription
Public enumerationSupported in .NET for Windows Store appsAssemblyContentTypeProvides information about the type of code contained in an assembly.
Public enumerationSupported by Portable Class LibrarySupported in .NET for Windows Store appsAssemblyNameFlagsProvides information about an Assembly reference.
Public enumerationSupported by Portable Class LibraryBindingFlagsSpecifies flags that control binding and the way in which the search for members and types is conducted by reflection.
Public enumerationSupported by Portable Class LibrarySupported in .NET for Windows Store appsCallingConventionsDefines the valid calling conventions for a method.
Public enumerationSupported by Portable Class LibrarySupported in .NET for Windows Store appsEventAttributesSpecifies the attributes of an event.
Public enumerationExceptionHandlingClauseOptionsIdentifies kinds of exception-handling clauses.
Public enumerationSupported by Portable Class LibrarySupported in .NET for Windows Store appsFieldAttributesSpecifies flags that describe the attributes of a field.
Public enumerationSupported by Portable Class LibrarySupported in .NET for Windows Store appsGenericParameterAttributesDescribes the constraints on a generic type parameter of a generic type or method.
Public enumerationImageFileMachineIdentifies the platform targeted by an executable.
Public enumerationMemberTypesMarks each type of member that is defined as a derived class of MemberInfo.
Public enumerationSupported by Portable Class LibrarySupported in .NET for Windows Store appsMethodAttributesSpecifies flags for method attributes. These flags are defined in the corhdr.h file.
Public enumerationSupported in .NET for Windows Store appsMethodImplAttributesSpecifies flags for the attributes of a method implementation.
Public enumerationSupported by Portable Class LibrarySupported in .NET for Windows Store appsParameterAttributesDefines the attributes that can be associated with a parameter. These are defined in CorHdr.h.
Public enumerationPortableExecutableKindsIdentifies the nature of the code in an executable file.
Public enumerationProcessorArchitectureIdentifies the processor and bits-per-word of the platform targeted by an executable.
Public enumerationSupported by Portable Class LibrarySupported in .NET for Windows Store appsPropertyAttributesDefines the attributes that can be associated with a property. These attribute values are defined in corhdr.h.
Public enumerationResourceAttributesSpecifies the attributes for a manifest resource.
Public enumerationSupported by Portable Class LibrarySupported in .NET for Windows Store appsResourceLocationSpecifies the resource location.
Public enumerationSupported by Portable Class LibrarySupported in .NET for Windows Store appsTypeAttributesSpecifies type attributes.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.