Export (0) Print
Expand All

MethodInfo Members

MethodInfo overview

Public Properties

public propertyAttributes (inherited from MethodBase)

Supported by the .NET Compact Framework.

Gets the attributes associated with this method.
public propertyCallingConvention (inherited from MethodBase)

Supported by the .NET Compact Framework.

Gets a value indicating the calling conventions for this method.
public propertyDeclaringType (inherited from MemberInfo)

Supported by the .NET Compact Framework.

Gets the class that declares this member.
public propertyIsAbstract (inherited from MethodBase)

Supported by the .NET Compact Framework.

Gets a value indicating whether the method is abstract.
public propertyIsAssembly (inherited from MethodBase)

Supported by the .NET Compact Framework.

Gets a value indicating whether this method can be called by other classes in the same assembly.
public propertyIsConstructor (inherited from MethodBase)

Supported by the .NET Compact Framework.

Gets a value indicating whether the method is a constructor.
public propertyIsFamily (inherited from MethodBase)

Supported by the .NET Compact Framework.

Gets a value indicating whether access to this method is restricted to members of the class and members of its derived classes.
public propertyIsFamilyAndAssembly (inherited from MethodBase)

Supported by the .NET Compact Framework.

Gets a value indicating whether this method can be called by derived classes if they are in the same assembly.
public propertyIsFamilyOrAssembly (inherited from MethodBase)

Supported by the .NET Compact Framework.

Gets a value indicating whether this method can be called by derived classes, wherever they are, and by all classes in the same assembly.
public propertyIsFinal (inherited from MethodBase)

Supported by the .NET Compact Framework.

Gets a value indicating whether this method is final.
public propertyIsHideBySig (inherited from MethodBase)

Supported by the .NET Compact Framework.

Gets a value indicating whether only a member of the same kind with exactly the same signature is hidden in the derived class.
public propertyIsPrivate (inherited from MethodBase)

Supported by the .NET Compact Framework.

Gets a value indicating whether this member is private.
public propertyIsPublic (inherited from MethodBase)

Supported by the .NET Compact Framework.

Gets a value indicating whether this is a public method.
public propertyIsSpecialName (inherited from MethodBase)

Supported by the .NET Compact Framework.

Gets a value indicating whether this method has a special name.
public propertyIsStatic (inherited from MethodBase)

Supported by the .NET Compact Framework.

Gets a value indicating whether the method is static (Shared in Visual Basic) .
public propertyIsVirtual (inherited from MethodBase)

Supported by the .NET Compact Framework.

Gets a value indicating whether the method is virtual (Overridable in Visual Basic) .
public propertyMemberType

Supported by the .NET Compact Framework.

Overridden. Gets a value indicating that this member is a method.
public propertyMethodHandle (inherited from MethodBase)

Supported by the .NET Compact Framework.

Gets a handle to the internal metadata representation of a method.
public propertyName (inherited from MemberInfo)

Supported by the .NET Compact Framework.

Gets the name of this member.
public propertyReflectedType (inherited from MemberInfo)

Supported by the .NET Compact Framework.

Gets the class object that was used to obtain this instance of MemberInfo.
public propertyReturnType

Supported by the .NET Compact Framework.

Gets the return type of this method.
public propertyReturnTypeCustomAttributes

Supported by the .NET Compact Framework.

Gets the custom attributes for the return type.

Public Methods

public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetBaseDefinition

Supported by the .NET Compact Framework.

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.
public methodGetCustomAttributes (inherited from MemberInfo)

Supported by the .NET Compact Framework.

Overloaded. When overridden in a derived class, returns all attributes defined on this member.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetMethodImplementationFlags (inherited from MethodBase) When overridden in a derived class, returns the MethodImplAttributes flags.
public methodGetParameters (inherited from MethodBase)

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the parameters of the specified method or constructor.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodInvoke (inherited from MethodBase)

Supported by the .NET Compact Framework.

Overloaded. Invokes the method or constructor reflected by this MethodInfo instance.
public methodIsDefined (inherited from MemberInfo)

Supported by the .NET Compact Framework.

When overridden in a derived class, indicates whether one or more instance of attributeType is defined on this member.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Constructors

protected constructorMethodInfo Constructor

Supported by the .NET Compact Framework.

Initializes a new instance of the MethodInfo class.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

MethodInfo Class | System.Reflection Namespace

Show:
© 2014 Microsoft