_ConstructorInfo Interface

Définition

Important

Cette API n’est pas conforme CLS.

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

public interface class _ConstructorInfo
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("E9A19478-9646-3679-9B10-8411AE1FD57D")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface _ConstructorInfo
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("E9A19478-9646-3679-9B10-8411AE1FD57D")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.ComVisible(true)]
public interface _ConstructorInfo
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("E9A19478-9646-3679-9B10-8411AE1FD57D")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type _ConstructorInfo = interface
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("E9A19478-9646-3679-9B10-8411AE1FD57D")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type _ConstructorInfo = interface
Public Interface _ConstructorInfo
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é.

La System.Reflection.ConstructorInfo classe découvre les attributs d’un constructeur de classe et fournit l’accès aux métadonnées du constructeur.

L’interface System.Runtime.InteropServices._ConstructorInfo conserve l’ordre vtable des membres de classe System.Reflection.ConstructorInfo accessibles par les 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.

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 aux objets COM un accès indépendant à la version au membre 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 ensuite 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(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.

Invoke_2(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_3(Object, Object[])

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

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

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

Invoke_5(Object[])

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

IsDefined(Type, Boolean)

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

ToString()

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

S’applique à