_MethodBase Interface

Définition

Important

Cette API n’est pas conforme CLS.

Expose les membres publics de la classe à du MethodBase 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 de code non managé et ne doit pas être appelée à partir du code managé.

Cette interface conserve l’ordre vtable des membres de System.Reflection.MethodBase classe accessibles par des objets COM non managés.

Propriétés

Nom Description
Attributes

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

CallingConvention

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

DeclaringType

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

IsAbstract

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

IsAssembly

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

IsConstructor

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

IsFamily

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

IsFamilyAndAssembly

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

IsFamilyOrAssembly

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

IsFinal

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

IsHideBySig

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

IsPrivate

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

IsPublic

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

IsSpecialName

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

IsStatic

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

IsVirtual

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

MemberType

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

MethodHandle

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

Name

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

ReflectedType

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

Méthodes

Nom Description
Equals(Object)

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

GetCustomAttributes(Boolean)

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

GetCustomAttributes(Type, Boolean)

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

GetHashCode()

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

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

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

GetMethodImplementationFlags()

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

GetParameters()

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

GetType()

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

GetTypeInfo(UInt32, UInt32, IntPtr)

Récupère les informations de type d’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 aux objets COM un accès indépendant de la version à la Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) méthode.

Invoke(Object, Object[])

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

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

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

IsDefined(Type, Boolean)

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

ToString()

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

S’applique à