_MethodBase Interface

Définition

Important

Cette API n’est pas conforme CLS.

Expose les membres publics de la classe MethodBase au code non managé.

public interface class _MethodBase
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("6240837A-707F-3181-8E98-A36AE086766B")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface _MethodBase
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("6240837A-707F-3181-8E98-A36AE086766B")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.ComVisible(true)]
public interface _MethodBase
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("6240837A-707F-3181-8E98-A36AE086766B")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type _MethodBase = interface
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("6240837A-707F-3181-8E98-A36AE086766B")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type _MethodBase = interface
Public Interface _MethodBase
Dérivé
Attributs

Remarques

Cette interface est destinée à l’accès aux classes managées à partir du code non managé et ne doit pas être appelée à partir du code managé.

Cette interface conserve l’ordre vtable des membres de la System.Reflection.MethodBase classe auxquels les objets COM non managés peuvent accéder.

Propriétés

Attributes

Fournit des objets COM avec un accès indépendant de la version à la propriété Attributes.

CallingConvention

Fournit des objets COM avec un accès indépendant de la version à la propriété CallingConvention.

DeclaringType

Fournit des objets COM avec un accès indépendant de la version à la propriété DeclaringType.

IsAbstract

Fournit des objets COM avec un accès indépendant de la version à la propriété IsAbstract.

IsAssembly

Fournit des objets COM avec un accès indépendant de la version à la propriété IsAssembly.

IsConstructor

Fournit des objets COM avec un accès indépendant de la version à la propriété IsConstructor.

IsFamily

Fournit des objets COM avec un accès indépendant de la version à la propriété IsFamily.

IsFamilyAndAssembly

Fournit des objets COM avec un accès indépendant de la version à la propriété IsFamilyAndAssembly.

IsFamilyOrAssembly

Fournit des objets COM avec un accès indépendant de la version à la propriété IsFamilyOrAssembly.

IsFinal

Fournit des objets COM avec un accès indépendant de la version à la propriété IsFinal.

IsHideBySig

Fournit des objets COM avec un accès indépendant de la version à la propriété IsHideBySig.

IsPrivate

Fournit des objets COM avec un accès indépendant de la version à la propriété IsPrivate.

IsPublic

Fournit des objets COM avec un accès indépendant de la version à la propriété IsPublic.

IsSpecialName

Fournit des objets COM avec un accès indépendant de la version à la propriété IsSpecialName.

IsStatic

Fournit des objets COM avec un accès indépendant de la version à la propriété IsStatic.

IsVirtual

Fournit des objets COM avec un accès indépendant de la version à la propriété IsVirtual.

MemberType

Fournit des objets COM avec un accès indépendant de la version à la propriété MemberType.

MethodHandle

Fournit des objets COM avec un accès indépendant de la version à la propriété MethodHandle.

Name

Fournit des objets COM avec un accès indépendant de la version à la propriété Name.

ReflectedType

Fournit des objets COM avec un accès indépendant de la version à la propriété ReflectedType.

Méthodes

Equals(Object)

Fournit des objets COM avec un accès indépendant de la version à la méthode Equals(Object).

GetCustomAttributes(Boolean)

Fournit des objets COM avec un accès indépendant de la version à la méthode GetCustomAttributes(Boolean).

GetCustomAttributes(Type, Boolean)

Fournit des objets COM avec un accès indépendant de la version à la méthode GetCustomAttributes(Type, Boolean).

GetHashCode()

Fournit des objets COM avec un accès indépendant de la version à la méthode GetHashCode().

GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

Mappe un jeu de noms avec un jeu correspondant d'identificateurs de dispatch.

GetMethodImplementationFlags()

Fournit des objets COM avec un accès indépendant de la version à la méthode GetMethodImplementationFlags().

GetParameters()

Fournit des objets COM avec un accès indépendant de la version à la méthode GetParameters().

GetType()

Fournit des objets COM avec un accès indépendant de la version à la méthode GetType().

GetTypeInfo(UInt32, UInt32, IntPtr)

Récupère les informations de type pour un objet, qui peuvent être utilisées pour obtenir les informations de type d'une interface.

GetTypeInfoCount(UInt32)

Récupère le nombre d'interfaces d'informations de type fourni par un objet (0 ou 1).

Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)

Fournit des objets COM avec un accès indépendant de la version à la méthode Invoke(Object, BindingFlags, Binder, Object[], CultureInfo).

Invoke(Object, Object[])

Fournit des objets COM avec un accès indépendant de la version à la méthode Invoke(Object, Object[]).

Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

Fournit l'accès aux propriétés et aux méthodes exposées par un objet.

IsDefined(Type, Boolean)

Fournit des objets COM avec un accès indépendant de la version à la méthode IsDefined(Type, Boolean).

ToString()

Fournit des objets COM avec un accès indépendant de la version à la méthode ToString().

S’applique à