MethodBase Members
Collapse the table of content
Expand the table of content

MethodBase Members

MethodBase overview

Public Properties

public propertyAttributes

Supported by the .NET Compact Framework.

Gets the attributes associated with this method.
public propertyCallingConvention

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

Supported by the .NET Compact Framework.

Gets a value indicating whether the method is abstract.
public propertyIsAssembly

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

Supported by the .NET Compact Framework.

Gets a value indicating whether the method is a constructor.
public propertyIsFamily

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

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

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

Supported by the .NET Compact Framework.

Gets a value indicating whether this method is final.
public propertyIsHideBySig

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

Supported by the .NET Compact Framework.

Gets a value indicating whether this member is private.
public propertyIsPublic

Supported by the .NET Compact Framework.

Gets a value indicating whether this is a public method.
public propertyIsSpecialName

Supported by the .NET Compact Framework.

Gets a value indicating whether this method has a special name.
public propertyIsStatic

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

Gets the type of this member, such as field, method, and so on.
public propertyMethodHandle

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 Methods

public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodstatic (Shared in Visual Basic)GetCurrentMethod Returns a MethodBase object representing the currently executing method.
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 methodstatic (Shared in Visual Basic)GetMethodFromHandle

Supported by the .NET Compact Framework.

Gets method information by using the method's internal metadata representation (handle).
public methodGetMethodImplementationFlags When overridden in a derived class, returns the MethodImplAttributes flags.
public methodGetParameters

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

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 constructorMethodBase Constructor

Supported by the .NET Compact Framework.

Initializes a new instance of the MethodBase 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

MethodBase Class | System.Reflection Namespace

Show:
© 2016 Microsoft