_MethodInfo Interface

Définition

Important

Cette API n’est pas conforme CLS.

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

public interface class _MethodInfo
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("FFCC1B5D-ECB8-38DD-9B01-3DC8ABC2AA5F")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface _MethodInfo
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("FFCC1B5D-ECB8-38DD-9B01-3DC8ABC2AA5F")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.ComVisible(true)]
public interface _MethodInfo
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("FFCC1B5D-ECB8-38DD-9B01-3DC8ABC2AA5F")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type _MethodInfo = interface
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("FFCC1B5D-ECB8-38DD-9B01-3DC8ABC2AA5F")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type _MethodInfo = interface
Public Interface _MethodInfo
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 de table virtuelle des membres de classe System.Reflection.MethodInfo qui sont accessibles par des objets COM non managés.

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.

ReturnType

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

ReturnTypeCustomAttributes

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

Méthodes

Equals(Object)

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

GetBaseDefinition()

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

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 à