Export (0) Print
Expand All

_MethodBase Interface

Exposes the public members of the System.Reflection.MethodBase class to unmanaged code.

This API is not CLS-compliant. 

Namespace:  System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("6240837A-707F-3181-8E98-A36AE086766B")]
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
public interface _MethodBase

The _MethodBase type exposes the following members.

  NameDescription
Public propertyAttributesProvides COM objects with version-independent access to the Attributes property.
Public propertyCallingConventionProvides COM objects with version-independent access to the CallingConvention property.
Public propertyDeclaringTypeProvides COM objects with version-independent access to the DeclaringType property.
Public propertyIsAbstractProvides COM objects with version-independent access to the IsAbstract property.
Public propertyIsAssemblyProvides COM objects with version-independent access to the IsAssembly property.
Public propertyIsConstructorProvides COM objects with version-independent access to the IsConstructor property.
Public propertyIsFamilyProvides COM objects with version-independent access to the IsFamily property.
Public propertyIsFamilyAndAssemblyProvides COM objects with version-independent access to the IsFamilyAndAssembly property.
Public propertyIsFamilyOrAssemblyProvides COM objects with version-independent access to the IsFamilyOrAssembly property.
Public propertyIsFinalProvides COM objects with version-independent access to the IsFinal property.
Public propertyIsHideBySigProvides COM objects with version-independent access to the IsHideBySig property.
Public propertyIsPrivateProvides COM objects with version-independent access to the IsPrivate property.
Public propertyIsPublicProvides COM objects with version-independent access to the IsPublic property.
Public propertyIsSpecialNameProvides COM objects with version-independent access to the IsSpecialName property.
Public propertyIsStaticProvides COM objects with version-independent access to the IsStatic property.
Public propertyIsVirtualProvides COM objects with version-independent access to the IsVirtual property.
Public propertyMemberTypeProvides COM objects with version-independent access to the MemberType property.
Public propertyMethodHandleProvides COM objects with version-independent access to the MethodHandle property.
Public propertyNameProvides COM objects with version-independent access to the Name property.
Public propertyReflectedTypeProvides COM objects with version-independent access to the ReflectedType property.
Top

  NameDescription
Public methodEqualsProvides COM objects with version-independent access to the Equals method.
Public methodGetCustomAttributes(Boolean)Provides COM objects with version-independent access to the GetCustomAttributes method.
Public methodGetCustomAttributes(Type, Boolean)Provides COM objects with version-independent access to the GetCustomAttributes method.
Public methodGetHashCodeProvides COM objects with version-independent access to the GetHashCode method.
Public methodGetIDsOfNamesMaps a set of names to a corresponding set of dispatch identifiers.
Public methodGetMethodImplementationFlagsProvides COM objects with version-independent access to the GetMethodImplementationFlags method.
Public methodGetParametersProvides COM objects with version-independent access to the GetParameters method.
Public methodGetTypeProvides COM objects with version-independent access to the GetType method.
Public methodGetTypeInfoRetrieves the type information for an object, which can be used to get the type information for an interface.
Public methodGetTypeInfoCountRetrieves the number of type information interfaces that an object provides (either 0 or 1).
Public methodInvoke(Object, Object[])Provides COM objects with version-independent access to the Invoke method.
Public methodInvoke(Object, BindingFlags, Binder, Object[], CultureInfo)Provides COM objects with version-independent access to the Invoke method.
Public methodInvoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)Provides access to properties and methods exposed by an object.
Public methodIsDefinedProvides COM objects with version-independent access to the IsDefined method.
Public methodToStringProvides COM objects with version-independent access to the ToString method.
Top

This interface is for access to managed classes from unmanaged code and should not be called from managed code.

This interface preserves the vtable order of the System.Reflection.MethodBase class members that can be accessed by unmanaged COM objects.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

ADD
Show:
© 2014 Microsoft