System.Reflection.MethodInfo Members

The members of System.Reflection.MethodInfo are listed below.

See Also: Inherited members from System.Reflection.MethodBase

Protected Constructors

Initializes a new instance of the System.Reflection.MethodInfo class.

Public Properties

[read-only]
override
ContainsGenericParametersbool.

Gets a value indicating whether a generic method contains unassigned generic type parameters.

[read-only]
override
IsGenericMethodbool.

Gets a value indicating whether the current method is a generic method.

[read-only]
override
IsGenericMethodDefinitionbool.

Gets a value indicating whether the current System.Reflection.MethodInfo represents the definition of a generic method.

[read-only]
override
MemberTypeMemberTypes.

Gets a System.Reflection.MemberTypes value indicating that this member is a method.

[read-only]
ReturnParameterParameterInfo.

Gets a System.Reflection.ParameterInfo object that contains information about the return type of the method, such as whether the return type has custom modifiers.

[read-only]
ReturnTypeType.

Gets the return type of this method.

[read-only]
abstract
ReturnTypeCustomAttributesICustomAttributeProvider.

Gets the custom attributes for the return type.

Public Methods

CreateDelegate(Type) : Delegate

Creates a delegate of the specified type from this method.

CreateDelegate(Type, object) : Delegate

Creates a delegate of the specified type with the specified target from this method.

override
Equals(object) : bool

Returns a value that indicates whether this instance is equal to a specified object.

abstract
GetBaseDefinition() : MethodInfo

When overridden in a derived class, returns the MethodInfo object for the method on the direct or indirect base class in which the method represented by this instance was first declared.

override
GetGenericArguments() : Type[]

Returns an array of Type objects that represent the type arguments of a generic method or the type parameters of a generic method definition.

GetGenericMethodDefinition() : MethodInfo

Returns a System.Reflection.MethodInfo object that represents a generic method definition from which the current method can be constructed.

override
GetHashCode() : int

Returns the hash code for this instance.

GetType() : Type
Documentation for this section has not yet been entered.
MakeGenericMethod(params Type[]) : MethodInfo

Substitutes the elements of an array of types for the type parameters of the current generic method definition, and returns a System.Reflection.MethodInfo object representing the resulting constructed method.

Public Operators

static
Equality(MethodInfo, MethodInfo)

Indicates whether two System.Reflection.MethodInfo objects are equal.

static
Inequality(MethodInfo, MethodInfo)

Indicates whether two System.Reflection.MethodInfo objects are not equal.

Explicitly Implemented Interface Members

System.Runtime.InteropServices._MethodInfo.GetIDsOfNamesDocumentation for this section has not yet been entered.
System.Runtime.InteropServices._MethodInfo.GetType

Provides access to the object.GetType method from COM.

System.Runtime.InteropServices._MethodInfo.GetTypeInfo

Retrieves the type information for an object, which can be used to get the type information for an interface.

System.Runtime.InteropServices._MethodInfo.GetTypeInfoCountDocumentation for this section has not yet been entered.
System.Runtime.InteropServices._MethodInfo.InvokeDocumentation for this section has not yet been entered.