_ConstructorInfo Interface
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Important
Cette API n’est pas conforme CLS.
Expose les membres publics de la classe à du ConstructorInfo 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 System.Reflection.ConstructorInfo 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 au GetMethodImplementationFlags() membre. |
| 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 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_2(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_3(Object, Object[]) |
Fournit aux objets COM un accès indépendant de la version à la Invoke(Object, Object[]) méthode. |
| Invoke_4(BindingFlags, Binder, Object[], CultureInfo) |
Fournit aux objets COM un accès indépendant de la version à la Invoke(BindingFlags, Binder, Object[], CultureInfo) méthode. |
| Invoke_5(Object[]) |
Fournit aux objets COM un accès indépendant de la version à la Invoke(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 au IsDefined(Type, Boolean) membre. |
| ToString() |
Fournit aux objets COM un accès indépendant de la version à la ToString() méthode. |