System.Reflection
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.
Initializes a new instance of the class with an empty message string and the root cause exception set to null.
Initializes a new instance of the class with its message string set to the given message and the root cause exception set to null.
A string indicating the reason this exception was thrown.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception.
Represents an assembly, which is a reusable, versionable, and self-describing building block of a common language runtime application.
Gets a collection that contains this assembly's custom attributes.
A collection that contains this assembly's custom attributes.
Gets a collection of the types defined in this assembly.
A collection of the types defined in this assembly.
Determines whether this assembly and the specified object are equal.
true if is equal to this instance; otherwise, false.
The object to compare with this instance.
Gets a collection of the public types defined in this assembly that are visible outside the assembly.
A collection of the public types defined in this assembly that are visible outside the assembly.
Gets the display name of the assembly.
The display name of the assembly.
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Returns information about how the given resource has been persisted.
An object that is populated with information about the resource's topology, or null if the resource is not found.
The case-sensitive name of the resource.
is null.
The parameter is an empty string ("").
Returns the names of all the resources in this assembly.
An array that contains the names of all the resources.
Loads the specified manifest resource from this assembly.
The manifest resource; or null if no resources were specified during compilation or if the resource is not visible to the caller.
The case-sensitive name of the manifest resource being requested.
The parameter is null.
The parameter is an empty string ("").
In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.A file that was found could not be loaded.
was not found.
is not a valid assembly.
Resource length is greater than .
Gets an for this assembly.
An object that contains the fully parsed display name for this assembly.
Gets the object with the specified name in the assembly instance.
An object that represents the specified class, or null if the class is not found.
The full name of the type.
is invalid.
is null.
requires a dependent assembly that could not be found.
In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead. requires a dependent assembly that was found but could not be loaded.-or-The current assembly was loaded into the reflection-only context, and requires a dependent assembly that was not preloaded.
requires a dependent assembly, but the file is not a valid assembly. -or- requires a dependent assembly which was compiled for a version of the runtime later than the currently loaded version.
Gets the object with the specified name in the assembly instance, with the options of ignoring the case, and of throwing an exception if the type is not found.
An object that represents the specified class.
The full name of the type.
true to throw an exception if the type is not found; false to return null.
true to ignore the case of the type name; otherwise, false.
is invalid.-or- The length of exceeds 1024 characters.
is null.
is true, and the type cannot be found.
requires a dependent assembly that could not be found.
requires a dependent assembly that was found but could not be loaded.-or-The current assembly was loaded into the reflection-only context, and requires a dependent assembly that was not preloaded.
requires a dependent assembly, but the file is not a valid assembly. -or- requires a dependent assembly which was compiled for a version of the runtime later than the currently loaded version.
Gets a value that indicates whether the current assembly was generated dynamically in the current process by using reflection emit.
true if the current assembly was generated dynamically in the current process; otherwise, false.
Loads an assembly given its .
The loaded assembly.
The object that describes the assembly to be loaded.
is null.
is not found.
In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.A file that was found could not be loaded.
is not a valid assembly. -or-Version 2.0 or later of the common language runtime is currently loaded and was compiled with a later version.
Gets the module that contains the manifest for the current assembly.
The module that contains the manifest for the assembly.
Gets a collection that contains the modules in this assembly.
A collection that contains the modules in this assembly.
Returns the full name of the assembly, also known as the display name.
The full name of the assembly, or the class name if the full name of the assembly cannot be determined.
Provides information about the type of code contained in an assembly.
The assembly contains .NET Framework code.
The assembly contains Windows Runtime code.
Describes an assembly's unique identity in full.
Initializes a new instance of the class.
Initializes a new instance of the class with the specified display name.
The display name of the assembly, as returned by the property.
is null.
is a zero length string.
In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.The referenced assembly could not be found, or could not be loaded.
Gets or sets a value that indicates what type of content the assembly contains.
A value that indicates what type of content the assembly contains.
Gets or sets the name of the culture associated with the assembly.
The culture name.
Gets or sets the attributes of the assembly.
A value that represents the attributes of the assembly.
Gets the full name of the assembly, also known as the display name.
A string that is the full name of the assembly, also known as the display name.
Gets the public key of the assembly.
A byte array that contains the public key of the assembly.
A public key was provided (for example, by using the method), but no public key token was provided.
Gets the public key token, which is the last 8 bytes of the SHA-1 hash of the public key under which the application or assembly is signed.
A byte array that contains the public key token.
Gets or sets the simple name of the assembly. This is usually, but not necessarily, the file name of the manifest file of the assembly, minus its extension.
The simple name of the assembly.
Gets or sets a value that identifies the processor and bits-per-word of the platform targeted by an executable.
One of the enumeration values that identifies the processor and bits-per-word of the platform targeted by an executable.
Sets the public key identifying the assembly.
A byte array containing the public key of the assembly.
Sets the public key token, which is the last 8 bytes of the SHA-1 hash of the public key under which the application or assembly is signed.
A byte array containing the public key token of the assembly.
Returns the full name of the assembly, also known as the display name.
The full name of the assembly, or the class name if the full name cannot be determined.
Gets or sets the major, minor, build, and revision numbers of the assembly.
An object that represents the major, minor, build, and revision numbers of the assembly.
Discovers the attributes of a class constructor and provides access to constructor metadata.
Represents the name of the class constructor method as it is stored in metadata. This name is always ".ctor". This field is read-only.
Returns a value that indicates whether this instance is equal to a specified object.
true if equals the type and value of this instance; otherwise, false.
An object to compare with this instance, or null.
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Invokes the constructor reflected by the instance that has the specified parameters, providing default values for the parameters not commonly used.
An instance of the class associated with the constructor.
An array of values that matches the number, order and type (under the constraints of the default binder) of the parameters for this constructor. If this constructor takes no parameters, then use either an array with zero elements or null, as in Object[] parameters = new Object[0]. Any object in this array that is not explicitly initialized with a value will contain the default value for that object type. For reference-type elements, this value is null. For value-type elements, this value is 0, 0.0, or false, depending on the specific element type.
The class is abstract.-or- The constructor is a class initializer.
In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.The constructor is private or protected, and the caller lacks .
The array does not contain values that match the types accepted by this constructor.
The invoked constructor throws an exception.
An incorrect number of parameters was passed.
Creation of , , and types is not supported.
The caller does not have the necessary code access permission.
Represents the name of the type constructor method as it is stored in metadata. This name is always ".cctor". This property is read-only.
Provides access to custom attribute data for assemblies, modules, types, members and parameters that are loaded into the reflection-only context.
Gets the type of the attribute.
The type of the attribute.
Gets the list of positional arguments specified for the attribute instance represented by the object.
A collection of structures that represent the positional arguments specified for the custom attribute instance.
Gets the list of named arguments specified for the attribute instance represented by the object.
A collection of structures that represent the named arguments specified for the custom attribute instance.
Represents a named argument of a custom attribute in the reflection-only context.
Gets a value that indicates whether the named argument is a field.
true if the named argument is a field; otherwise, false.
Gets the name of the attribute member that would be used to set the named argument.
The name of the attribute member that would be used to set the named argument.
Gets a structure that can be used to obtain the type and value of the current named argument.
A structure that can be used to obtain the type and value of the current named argument.
Represents an argument of a custom attribute in the reflection-only context, or an element of an array argument.
Gets the type of the argument or of the array argument element.
A object representing the type of the argument or of the array element.
Gets the value of the argument for a simple argument or for an element of an array argument; gets a collection of values for an array argument.
An object that represents the value of the argument or element, or a generic of objects that represent the values of an array-type argument.
Discovers the attributes of an event and provides access to event metadata.
Adds an event handler to an event source.
The event source.
Encapsulates a method or methods to be invoked when the event is raised by the target.
The event does not have a public add accessor.
The handler that was passed in cannot be used.
In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.The caller does not have access permission to the member.
In the .NET for Windows Store apps or the Portable Class Library, catch instead.The parameter is null and the event is not static.-or- The is not declared on the target.
Gets the object for the method of the event, including non-public methods.
The object for the method.
Gets the attributes for this event.
The read-only attributes for this event.
Returns a value that indicates whether this instance is equal to a specified object.
true if equals the type and value of this instance; otherwise, false.
An object to compare with this instance, or null.
Gets the Type object of the underlying event-handler delegate associated with this event.
A read-only Type object representing the delegate event handler.
The caller does not have the required permission.
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Gets a value indicating whether the EventInfo has a name with a special meaning.
true if this event has a special name; otherwise, false.
Gets the method that is called when the event is raised, including non-public methods.
The method that is called when the event is raised.
Removes an event handler from an event source.
The event source.
The delegate to be disassociated from the events raised by target.
The event does not have a public remove accessor.
The handler that was passed in cannot be used.
In the .NET for Windows Store apps or the Portable Class Library, catch instead.The parameter is null and the event is not static.-or- The is not declared on the target.
In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.The caller does not have access permission to the member.
Gets the MethodInfo object for removing a method of the event, including non-public methods.
The MethodInfo object for removing a method of the event.
Discovers the attributes of a field and provides access to field metadata.
Gets the attributes associated with this field.
The FieldAttributes for this field.
Returns a value that indicates whether this instance is equal to a specified object.
true if equals the type and value of this instance; otherwise, false.
An object to compare with this instance, or null.
Gets the type of this field object.
The type of this field object.
Gets a for the field represented by the specified handle.
A object representing the field specified by .
A structure that contains the handle to the internal metadata representation of a field.
is invalid.
Gets a for the field represented by the specified handle, for the specified generic type.
A object representing the field specified by , in the generic type specified by .
A structure that contains the handle to the internal metadata representation of a field.
A structure that contains the handle to the generic type that defines the field.
is invalid.-or- is not compatible with . For example, is the runtime type handle of the generic type definition, and comes from a constructed type. See Remarks.
Returns the hash code for this instance.
A 32-bit signed integer hash code.
When overridden in a derived class, returns the value of a field supported by a given object.
An object containing the value of the field reflected by this instance.
The object whose field value will be returned.
In the .NET for Windows Store apps or the Portable Class Library, catch instead.The field is non-static and is null.
A field is marked literal, but the field does not have one of the accepted literal types.
In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.The caller does not have permission to access this field.
The method is neither declared nor inherited by the class of .
Gets a value indicating whether the potential visibility of this field is described by ; that is, the field is visible at most to other types in the same assembly, and is not visible to derived types outside the assembly.
true if the visibility of this field is exactly described by ; otherwise, false.
Gets a value indicating whether the visibility of this field is described by ; that is, the field is visible only within its class and derived classes.
true if access to this field is exactly described by ; otherwise, false.
Gets a value indicating whether the visibility of this field is described by ; that is, the field can be accessed from derived classes, but only if they are in the same assembly.
true if access to this field is exactly described by ; otherwise, false.
Gets a value indicating whether the potential visibility of this field is described by ; that is, the field can be accessed by derived classes wherever they are, and by classes in the same assembly.
true if access to this field is exactly described by ; otherwise, false.
Gets a value indicating whether the field can only be set in the body of the constructor.
true if the field has the InitOnly attribute set; otherwise, false.
Gets a value indicating whether the value is written at compile time and cannot be changed.
true if the field has the Literal attribute set; otherwise, false.
Gets a value indicating whether the field is private.
true if the field is private; otherwise; false.
Gets a value indicating whether the field is public.
true if this field is public; otherwise, false.
Gets a value indicating whether the corresponding SpecialName attribute is set in the enumerator.
true if the SpecialName attribute is set in ; otherwise, false.
Gets a value indicating whether the field is static.
true if this field is static; otherwise, false.
Sets the value of the field supported by the given object.
The object whose field value will be set.
The value to assign to the field.
In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.The caller does not have permission to access this field.
In the .NET for Windows Store apps or the Portable Class Library, catch instead.The parameter is null and the field is an instance field.
The field does not exist on the object.-or- The parameter cannot be converted and stored in the field.
Contains methods for converting objects.
Returns the representation of the specified type.
The converted object.
The type to convert.
Represents a type that you can reflect over.
Retrieves an object that represents this type.
An object that represents this type.
Discovers the attributes of a local variable and provides access to local variable metadata.
Initializes a new instance of the class.
Gets a value that indicates whether the object referred to by the local variable is pinned in memory.
true if the object referred to by the variable is pinned in memory; otherwise, false.
Gets the index of the local variable within the method body.
An integer value that represents the order of declaration of the local variable within the method body.
Gets the type of the local variable.
The type of the local variable.
Returns a user-readable string that describes the local variable.
A string that displays information about the local variable, including the type name, index, and pinned status.
Provides access to manifest resources, which are XML files that describe application dependencies.
Initializes a new instance of the class for a resource that is contained by the specified assembly and file, and that has the specified location.
The assembly that contains the manifest resource.
The name of the file that contains the manifest resource, if the file is not the same as the manifest file.
A bitwise combination of enumeration values that provides information about the location of the manifest resource.
Gets the name of the file that contains the manifest resource, if it is not the same as the manifest file.
The manifest resource's file name.
Gets the containing assembly for the manifest resource.
The manifest resource's containing assembly.
Gets the manifest resource's location.
A bitwise combination of flags that indicates the location of the manifest resource.
Obtains information about the attributes of a member and provides access to member metadata.
Gets a collection that contains this member's custom attributes.
A collection that contains this member's custom attributes.
Gets the class that declares this member.
The Type object for the class that declares this member.
Returns a value that indicates whether this instance is equal to a specified object.
true if equals the type and value of this instance; otherwise, false.
An object to compare with this instance, or null.
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Gets the module in which the type that declares the member represented by the current is defined.
The in which the type that declares the member represented by the current is defined.
This method is not implemented.
Gets the name of the current member.
A containing the name of this member.
Provides information about methods and constructors.
Gets the attributes associated with this method.
One of the values.
Gets a value indicating the calling conventions for this method.
The for this method.
Gets a value indicating whether the generic method contains unassigned generic type parameters.
true if the current object represents a generic method that contains unassigned generic type parameters; otherwise, false.
Returns a value that indicates whether this instance is equal to a specified object.
true if equals the type and value of this instance; otherwise, false.
An object to compare with this instance, or null.
Returns an array of objects that represent the type arguments of a generic method or the type parameters of a generic method definition.
An array of objects that represent the type arguments of a generic method or the type parameters of a generic method definition. Returns an empty array if the current method is not a generic method.
The current object is a . Generic constructors are not supported in the .NET Framework version 2.0. This exception is the default behavior if this method is not overridden in a derived class.
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Gets method information by using the method's internal metadata representation (handle).
A MethodBase containing information about the method.
The method's handle.
is invalid.
Gets a object for the constructor or method represented by the specified handle, for the specified generic type.
A object representing the method or constructor specified by , in the generic type specified by .
A handle to the internal metadata representation of a constructor or method.
A handle to the generic type that defines the constructor or method.
is invalid.
When overridden in a derived class, gets the parameters of the specified method or constructor.
An array of type ParameterInfo containing information that matches the signature of the method (or constructor) reflected by this MethodBase instance.
Invokes the method or constructor represented by the current instance, using the specified parameters.
An object containing the return value of the invoked method, or null in the case of a constructor.CautionElements of the array that represent parameters declared with the ref or out keyword may also be modified.
The object on which to invoke the method or constructor. If a method is static, this argument is ignored. If a constructor is static, this argument must be null or an instance of the class that defines the constructor.
An argument list for the invoked method or constructor. This is an array of objects with the same number, order, and type as the parameters of the method or constructor to be invoked. If there are no parameters, should be null.If the method or constructor represented by this instance takes a ref parameter (ByRef in Visual Basic), no special attribute is required for that parameter in order to invoke the method or constructor using this function. Any object in this array that is not explicitly initialized with a value will contain the default value for that object type. For reference-type elements, this value is null. For value-type elements, this value is 0, 0.0, or false, depending on the specific element type.
In the .NET for Windows Store apps or the Portable Class Library, catch instead.The parameter is null and the method is not static.-or- The method is not declared or inherited by the class of . -or-A static constructor is invoked, and is neither null nor an instance of the class that declared the constructor.
The elements of the array do not match the signature of the method or constructor reflected by this instance.
The invoked method or constructor throws an exception. -or-The current instance is a that contains unverifiable code. See the "Verification" section in Remarks for .
The array does not have the correct number of arguments.
In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.The caller does not have permission to execute the method or constructor that is represented by the current instance.
The type that declares the method is an open generic type. That is, the property returns true for the declaring type.
The current instance is a .
Gets a value indicating whether the method is abstract.
true if the method is abstract; otherwise, false.
Gets a value indicating whether the potential visibility of this method or constructor is described by ; that is, the method or constructor is visible at most to other types in the same assembly, and is not visible to derived types outside the assembly.
true if the visibility of this method or constructor is exactly described by ; otherwise, false.
Gets a value indicating whether the method is a constructor.
true if this method is a constructor represented by a object (see note in Remarks about objects); otherwise, false.
Gets a value indicating whether the visibility of this method or constructor is described by ; that is, the method or constructor is visible only within its class and derived classes.
true if access to this method or constructor is exactly described by ; otherwise, false.
Gets a value indicating whether the visibility of this method or constructor is described by ; that is, the method or constructor can be called by derived classes, but only if they are in the same assembly.
true if access to this method or constructor is exactly described by ; otherwise, false.
Gets a value indicating whether the potential visibility of this method or constructor is described by ; that is, the method or constructor can be called by derived classes wherever they are, and by classes in the same assembly.
true if access to this method or constructor is exactly described by ; otherwise, false.
Gets a value indicating whether this method is final.
true if this method is final; otherwise, false.
Gets a value indicating whether the method is generic.
true if the current represents a generic method; otherwise, false.
Gets a value indicating whether the method is a generic method definition.
true if the current object represents the definition of a generic method; otherwise, false.
Gets a value indicating whether only a member of the same kind with exactly the same signature is hidden in the derived class.
true if the member is hidden by signature; otherwise, false.
Gets a value indicating whether this member is private.
true if access to this method is restricted to other members of the class itself; otherwise, false.
Gets a value indicating whether this is a public method.
true if this method is public; otherwise, false.
Gets a value indicating whether this method has a special name.
true if this method has a special name; otherwise, false.
Gets a value indicating whether the method is static.
true if this method is static; otherwise, false.
Gets a value indicating whether the method is virtual.
true if this method is virtual; otherwise, false.
Gets the flags that specify the attributes of a method implementation.
The method implementation flags.
Discovers the attributes of a method and provides access to method metadata.
Creates a delegate of the specified type from this method.
The delegate for this method.
The type of the delegate to create.
Creates a delegate of the specified type with the specified target from this method.
The delegate for this method.
The type of the delegate to create.
The object targeted by the delegate.
Returns a value that indicates whether this instance is equal to a specified object.
true if equals the type and value of this instance; otherwise, false.
An object to compare with this instance, or null.
Returns an array of objects that represent the type arguments of a generic method or the type parameters of a generic method definition.
An array of objects that represent the type arguments of a generic method or the type parameters of a generic method definition. Returns an empty array if the current method is not a generic method.
This method is not supported.
Returns a object that represents a generic method definition from which the current method can be constructed.
A object representing a generic method definition from which the current method can be constructed.
The current method is not a generic method. That is, returns false.
This method is not supported.
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Substitutes the elements of an array of types for the type parameters of the current generic method definition, and returns a object representing the resulting constructed method.
A object that represents the constructed method formed by substituting the elements of for the type parameters of the current generic method definition.
An array of types to be substituted for the type parameters of the current generic method definition.
The current does not represent a generic method definition. That is, returns false.
is null.-or- Any element of is null.
The number of elements in is not the same as the number of type parameters of the current generic method definition.-or- An element of does not satisfy the constraints specified for the corresponding type parameter of the current generic method definition.
This method is not supported.
Gets a object that contains information about the return type of the method, such as whether the return type has custom modifiers.
A object that contains information about the return type.
This method is not implemented.
Gets the return type of this method.
The return type of this method.
Performs reflection on a module.
Gets the appropriate for this instance of .
An Assembly object.
Gets a collection that contains this module's custom attributes.
A collection that contains this module's custom attributes.
Determines whether this module and the specified object are equal.
true if is equal to this instance; otherwise, false.
The object to compare with this instance.
Gets a string representing the fully qualified name and path to this module.
The fully qualified module name.
The caller does not have the required permissions.
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Returns the specified type, specifying whether to make a case-sensitive search of the module and whether to throw an exception if the type cannot be found.
A object representing the specified type, if the type is declared in this module; otherwise, null.
The name of the type to locate. The name must be fully qualified with the namespace.
true to throw an exception if the type cannot be found; false to return null.
true for case-insensitive search; otherwise, false.
is null.
The class initializers are invoked and an exception is thrown.
is a zero-length string.
is true, and the type cannot be found.
requires a dependent assembly that could not be found.
requires a dependent assembly that was found but could not be loaded.-or-The current assembly was loaded into the reflection-only context, and requires a dependent assembly that was not preloaded.
requires a dependent assembly, but the file is not a valid assembly. -or- requires a dependent assembly which was compiled for a version of the runtime later than the currently loaded version.
Gets a String representing the name of the module with the path removed.
The module name with no path.
Returns the name of the module.
A String representing the name of this module.
Discovers the attributes of a parameter and provides access to parameter metadata.
Gets the attributes for this parameter.
A ParameterAttributes object representing the attributes for this parameter.
Gets a collection that contains this parameter's custom attributes.
A collection that contains this parameter's custom attributes.
Gets a value indicating the default value if the parameter has a default value.
The default value of the parameter, or if the parameter has no default value.
Gets a value that indicates whether this parameter has a default value.
true if this parameter has a default value; otherwise, false.
Gets a value indicating whether this is an input parameter.
true if the parameter is an input parameter; otherwise, false.
Gets a value indicating whether this parameter is optional.
true if the parameter is optional; otherwise, false.
Gets a value indicating whether this is an output parameter.
true if the parameter is an output parameter; otherwise, false.
Gets a value indicating whether this is a Retval parameter.
true if the parameter is a Retval; otherwise, false.
Gets a value indicating the member in which the parameter is implemented.
The member which implanted the parameter represented by this .
Gets the name of the parameter.
The simple name of this parameter.
Gets the Type of this parameter.
The Type object that represents the Type of this parameter.
Gets the zero-based position of the parameter in the formal parameter list.
An integer representing the position this parameter occupies in the parameter list.
Discovers the attributes of a property and provides access to property metadata.
Gets the attributes for this property.
Attributes of this property.
Gets a value indicating whether the property can be read.
true if this property can be read; otherwise, false.
Gets a value indicating whether the property can be written to.
true if this property can be written to; otherwise, false.
Returns a value that indicates whether this instance is equal to a specified object.
true if equals the type and value of this instance; otherwise, false.
An object to compare with this instance, or null.
Returns a literal value associated with the property by a compiler.
An that contains the literal value associated with the property. If the literal value is a class type with an element value of zero, the return value is null.
The Constant table in unmanaged metadata does not contain a constant value for the current property.
The type of the value is not one of the types permitted by the Common Language Specification (CLS). See the ECMA Partition II specification, Metadata.
Returns the hash code for this instance.
A 32-bit signed integer hash code.
When overridden in a derived class, returns an array of all the index parameters for the property.
An array of type ParameterInfo containing the parameters for the indexes. If the property is not indexed, the array has 0 (zero) elements.
Gets the get accessor for this property.
The get accessor for this property.
Returns the property value of a specified object.
The property value of the specified object.
The object whose property value will be returned.
Returns the property value of a specified object with optional index values for indexed properties.
The property value of the specified object.
The object whose property value will be returned.
Optional index values for indexed properties. The indexes of indexed properties are zero-based. This value should be null for non-indexed properties.
The array does not contain the type of arguments needed.-or- The property's get accessor is not found.
In the .NET for Windows Store apps or the Portable Class Library, catch instead.The object does not match the target type, or a property is an instance property but is null.
The number of parameters in does not match the number of parameters the indexed property takes.
In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.There was an illegal attempt to access a private or protected method inside a class.
An error occurred while retrieving the property value. For example, an index value specified for an indexed property is out of range. The property indicates the reason for the error.
Gets a value indicating whether the property is the special name.
true if this property is the special name; otherwise, false.
Gets the type of this property.
The type of this property.
Gets the set accessor for this property.
The set accessor for this property, or null if the property is read-only.
Sets the property value of a specified object.
The object whose property value will be set.
The new property value.
The property's set accessor is not found. -or- cannot be converted to the type of .
In the .NET for Windows Store apps or the Portable Class Library, catch instead.The type of does not match the target type, or a property is an instance property but is null.
In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead. There was an illegal attempt to access a private or protected method inside a class.
An error occurred while setting the property value. The property indicates the reason for the error.
Sets the property value of a specified object with optional index values for index properties.
The object whose property value will be set.
The new property value.
Optional index values for indexed properties. This value should be null for non-indexed properties.
The array does not contain the type of arguments needed.-or- The property's set accessor is not found. -or- cannot be converted to the type of .
In the .NET for Windows Store apps or the Portable Class Library, catch instead.The object does not match the target type, or a property is an instance property but is null.
The number of parameters in does not match the number of parameters the indexed property takes.
In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.There was an illegal attempt to access a private or protected method inside a class.
An error occurred while setting the property value. For example, an index value specified for an indexed property is out of range. The property indicates the reason for the error.
Represents a context that can provide reflection objects.
Initializes a new instance of the class.
Gets the representation of the type of the specified object in this reflection context.
An object that represents the type of the specified object.
The object to represent.
Gets the representation, in this reflection context, of an assembly that is represented by an object from another reflection context.
The representation of the assembly in this reflection context.
The external representation of the assembly to represent in this context.
Gets the representation, in this reflection context, of a type represented by an object from another reflection context.
The representation of the type in this reflection context..
The external representation of the type to represent in this context.
The exception that is thrown by the method if any of the classes in a module cannot be loaded. This class cannot be inherited.
Initializes a new instance of the class with the given classes and their associated exceptions.
An array of type Type containing the classes that were defined in the module and loaded. This array can contain null reference (Nothing in Visual Basic) values.
An array of type Exception containing the exceptions that were thrown by the class loader. The null reference (Nothing in Visual Basic) values in the array line up with the exceptions in this array.
Initializes a new instance of the class with the given classes, their associated exceptions, and exception descriptions.
An array of type Type containing the classes that were defined in the module and loaded. This array can contain null reference (Nothing in Visual Basic) values.
An array of type Exception containing the exceptions that were thrown by the class loader. The null reference (Nothing in Visual Basic) values in the array line up with the exceptions in this array.
A String describing the reason the exception was thrown.
Gets the array of exceptions thrown by the class loader.
An array of type Exception containing the exceptions thrown by the class loader. The null values in the array of this instance line up with the exceptions in this array.
Gets the array of classes that were defined in the module and loaded.
An array of type Type containing the classes that were defined in the module and loaded. This array can contain some null values.
Specifies the resource location.
Specifies that the resource is contained in another assembly.
Specifies that the resource is contained in the manifest file.
Specifies an embedded (that is, non-linked) resource.
The exception that is thrown by methods invoked through reflection. This class cannot be inherited.
Initializes a new instance of the class with a reference to the inner exception that is the cause of this exception.
The exception that is the cause of the current exception. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception.
The exception that is thrown when the number of parameters for an invocation does not match the number expected. This class cannot be inherited.
Initializes a new instance of the class with an empty message string and the root cause of the exception.
Initializes a new instance of the class with its message string set to the given message and the root cause exception.
A String describing the reason this exception was thrown.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception.
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.
Returns the current type as a object.
The current type.
Gets a collection of the constructors declared by the current type.
A collection of the constructors declared by the current type.
Gets a collection of the events defined by the current type.
A collection of the events defined by the current type.
Gets a collection of the fields defined by the current type.
A collection of the fields defined by the current type.
Gets a collection of the members defined by the current type.
A collection of the members defined by the current type.
Gets a collection of the methods defined by the current type.
A collection of the methods defined by the current type.
Gets a collection of the nested types defined by the current type.
A collection of nested types defined by the current type.
Gets a collection of the properties defined by the current type.
A collection of the properties defined by the current type.
Gets an array of the generic type parameters of the current instance.
An array that contains the current instance's generic type parameters, or an array of zero if the current instance has no generic type parameters.
Returns an object that represents the specified public event declared by the current type.
An object that represents the specified event, if found; otherwise, null.
The name of the event.
is null.
Returns an object that represents the specified public field declared by the current type.
An object that represents the specified field, if found; otherwise, null.
The name of the field.
is null.
Returns an object that represents the specified public method declared by the current type.
An object that represents the specified method, if found; otherwise, null.
The name of the method.
is null.
Returns a collection that contains all public methods declared on the current type that match the specified name.
A collection that contains methods that match .
The method name to search for.
is null.
Returns an object that represents the specified public nested type declared by the current type.
An object that represents the specified nested type, if found; otherwise, null.
The name of the nested type.
is null.
Returns an object that represents the specified public property declared by the current type.
An object that represents the specified property, if found; otherwise, null.
The name of the property.
is null.
Gets a collection of the interfaces implemented by the current type.
A collection of the interfaces implemented by the current type.
Returns a value that indicates whether the specified type can be assigned to the current type.
true if the specified type can be assigned to this type; otherwise, false.
The type to check.
Returns a representation of the current type as a object.
A reference to the current type.