Export (0) Print
Expand All
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.

  Class Description
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps 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.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps Assembly Represents an assembly, which is a reusable, versionable, and self-describing building block of a common language runtime application.
Public class AssemblyAlgorithmIdAttribute Specifies an algorithm to hash all files in an assembly. This class cannot be inherited.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps AssemblyCompanyAttribute Defines a company name custom attribute for an assembly manifest.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps AssemblyConfigurationAttribute Specifies the build configuration, such as retail or debug, for an assembly.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps AssemblyCopyrightAttribute Defines a copyright custom attribute for an assembly manifest.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps AssemblyCultureAttribute Specifies which culture the assembly supports.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps AssemblyDefaultAliasAttribute Defines a friendly default alias for an assembly manifest.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps AssemblyDelaySignAttribute Specifies that the assembly is not fully signed when created.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps AssemblyDescriptionAttribute Provides a text description for an assembly.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps 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.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps 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.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps AssemblyInformationalVersionAttribute Defines additional version information for an assembly manifest.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps AssemblyKeyFileAttribute Specifies the name of a file containing the key pair used to generate a strong name.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps AssemblyKeyNameAttribute Specifies the name of a key container within the CSP containing the key pair used to generate a strong name.
Public class Supported in .NET for Windows Store apps AssemblyMetadataAttribute Defines a key/value metadata pair for the decorated assembly.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps AssemblyName Describes an assembly's unique identity in full.
Public class AssemblyNameProxy Provides a remotable version of the AssemblyName.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps AssemblyProductAttribute Defines a product name custom attribute for an assembly manifest.
Public class Supported in .NET for Windows Store apps AssemblySignatureKeyAttribute Provides migration from an older, simpler strong name key to a larger key with a stronger hashing algorithm.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps AssemblyTitleAttribute Specifies a description for an assembly.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps AssemblyTrademarkAttribute Defines a trademark custom attribute for an assembly manifest.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps AssemblyVersionAttribute Specifies the version of the assembly being attributed.
Public class Binder Selects a member from a list of candidates, and performs type conversion from actual argument type to formal argument type.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps ConstructorInfo Discovers the attributes of a class constructor and provides access to constructor metadata.
Public class Supported in .NET for Windows Store apps CustomAttributeData Provides access to custom attribute data for assemblies, modules, types, members and parameters that are loaded into the reflection-only context.
Public class Supported in .NET for Windows Store apps CustomAttributeExtensions Contains static methods for retrieving custom attributes.
Public class CustomAttributeFormatException The exception that is thrown when the binary format of a custom attribute is invalid.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps DefaultMemberAttribute Defines the member of a type that is the default member used by InvokeMember.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps EventInfo Discovers the attributes of an event and provides access to event metadata.
Public class ExceptionHandlingClause Represents a clause in a structured exception-handling block.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps FieldInfo Discovers the attributes of a field and provides access to field metadata.
Public class Supported in .NET for Windows Store apps IntrospectionExtensions Contains methods for converting Type objects.
Public class InvalidFilterCriteriaException The exception that is thrown in FindMembers when the filter criteria is not valid for the type of filter you are using.
Public class Supported in .NET for Windows Store apps LocalVariableInfo Discovers the attributes of a local variable and provides access to local variable metadata.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps ManifestResourceInfo Provides access to manifest resources, which are XML files that describe application dependencies.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps MemberInfo Obtains information about the attributes of a member and provides access to member metadata.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps MethodBase Provides information about methods and constructors.
Public class MethodBody Provides access to the metadata and MSIL for the body of a method.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps MethodInfo Discovers the attributes of a method and provides access to method metadata.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps Missing Represents a missing Object. This class cannot be inherited.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps Module Performs reflection on a module.
Public class ObfuscateAssemblyAttribute Instructs obfuscation tools to use their standard obfuscation rules for the appropriate assembly type.
Public class ObfuscationAttribute Instructs obfuscation tools to take the specified actions for an assembly, type, or member.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps ParameterInfo Discovers the attributes of a parameter and provides access to parameter metadata.
Public class Pointer Provides a wrapper class for pointers.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps PropertyInfo Discovers the attributes of a property and provides access to property metadata.
Public class Supported in .NET for Windows Store apps ReflectionContext Represents a context that can provide reflection objects.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps 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.
Public class Supported in .NET for Windows Store apps RuntimeReflectionExtensions Provides methods that retrieve information about types at run time.
Public class StrongNameKeyPair Encapsulates access to a public or private key pair used to sign strong name assemblies.
Public class TargetException Represents the exception that is thrown when an attempt is made to invoke an invalid target.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps TargetInvocationException The exception that is thrown by methods invoked through reflection. This class cannot be inherited.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps 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.
Public class TypeDelegator Wraps a System.Type object and delegates methods to that Type.
Public class Supported in .NET for Windows Store apps 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.
  Structure Description
Public structure Supported in .NET for Windows Store apps CustomAttributeNamedArgument Represents a named argument of a custom attribute in the reflection-only context.
Public structure Supported in .NET for Windows Store apps CustomAttributeTypedArgument Represents an argument of a custom attribute in the reflection-only context, or an element of an array argument.
Public structure Supported in .NET for Windows Store apps InterfaceMapping Retrieves the mapping of an interface into the actual methods on a class that implements that interface.
Public structure ParameterModifier Attaches a modifier to parameters so that binding can work with parameter signatures in which the types have been modified.
  Interface Description
Public interface ICustomAttributeProvider Provides custom attributes for reflection objects that support them.
Public interface ICustomTypeProvider Represents an object that provides a custom type.
Public interface IReflect Interoperates with the IDispatch interface.
Public interface Supported in .NET for Windows Store apps IReflectableType Represents a type that you can reflect over.
  Delegate Description
Public delegate MemberFilter Represents a delegate that is used to filter a list of members represented in an array of MemberInfo objects.
Public delegate ModuleResolveEventHandler Represents the method that will handle the ModuleResolve event of an Assembly.
Public delegate TypeFilter Filters the classes represented in an array of Type objects.
  Enumeration Description
Public enumeration Supported in .NET for Windows Store apps AssemblyContentType Provides information about the type of code contained in an assembly.
Public enumeration Supported by Portable Class Library Supported in .NET for Windows Store apps AssemblyNameFlags Provides information about an Assembly reference.
Public enumeration Supported by Portable Class Library BindingFlags Specifies flags that control binding and the way in which the search for members and types is conducted by reflection.
Public enumeration Supported by Portable Class Library Supported in .NET for Windows Store apps CallingConventions Defines the valid calling conventions for a method.
Public enumeration Supported by Portable Class Library Supported in .NET for Windows Store apps EventAttributes Specifies the attributes of an event.
Public enumeration ExceptionHandlingClauseOptions Identifies kinds of exception-handling clauses.
Public enumeration Supported by Portable Class Library Supported in .NET for Windows Store apps FieldAttributes Specifies flags that describe the attributes of a field.
Public enumeration Supported by Portable Class Library Supported in .NET for Windows Store apps GenericParameterAttributes Describes the constraints on a generic type parameter of a generic type or method.
Public enumeration ImageFileMachine Identifies the platform targeted by an executable.
Public enumeration MemberTypes Marks each type of member that is defined as a derived class of MemberInfo.
Public enumeration Supported by Portable Class Library Supported in .NET for Windows Store apps MethodAttributes Specifies flags for method attributes. These flags are defined in the corhdr.h file.
Public enumeration Supported in .NET for Windows Store apps MethodImplAttributes Specifies flags for the attributes of a method implementation.
Public enumeration Supported by Portable Class Library Supported in .NET for Windows Store apps ParameterAttributes Defines the attributes that can be associated with a parameter. These are defined in CorHdr.h.
Public enumeration PortableExecutableKinds Identifies the nature of the code in an executable file.
Public enumeration ProcessorArchitecture Identifies the processor and bits-per-word of the platform targeted by an executable.
Public enumeration Supported by Portable Class Library Supported in .NET for Windows Store apps PropertyAttributes Defines the attributes that can be associated with a property. These attribute values are defined in corhdr.h.
Public enumeration ResourceAttributes Specifies the attributes for a manifest resource.
Public enumeration Supported by Portable Class Library Supported in .NET for Windows Store apps ResourceLocation Specifies the resource location.
Public enumeration Supported by Portable Class Library Supported in .NET for Windows Store apps TypeAttributes Specifies type attributes.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.