This topic has not yet been rated - Rate this topic

_ConstructorInfo Interface

Exposes the public members of the System.Reflection.ConstructorInfo class to unmanaged code.

This API is not CLS-compliant. 

Namespace:  System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("E9A19478-9646-3679-9B10-8411AE1FD57D")]
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
public interface _ConstructorInfo

The _ConstructorInfo type exposes the following members.

  Name Description
Public property Attributes Provides COM objects with version-independent access to the Attributes property.
Public property CallingConvention Provides COM objects with version-independent access to the CallingConvention property.
Public property DeclaringType Provides COM objects with version-independent access to the DeclaringType property.
Public property IsAbstract Provides COM objects with version-independent access to the IsAbstract property.
Public property IsAssembly Provides COM objects with version-independent access to the IsAssembly property.
Public property IsConstructor Provides COM objects with version-independent access to the IsConstructor property.
Public property IsFamily Provides COM objects with version-independent access to the IsFamily property.
Public property IsFamilyAndAssembly Provides COM objects with version-independent access to the IsFamilyAndAssembly property.
Public property IsFamilyOrAssembly Provides COM objects with version-independent access to the IsFamilyOrAssembly property.
Public property IsFinal Provides COM objects with version-independent access to the IsFinal property.
Public property IsHideBySig Provides COM objects with version-independent access to the IsHideBySig property.
Public property IsPrivate Provides COM objects with version-independent access to the IsPrivate property.
Public property IsPublic Provides COM objects with version-independent access to the IsPublic property.
Public property IsSpecialName Provides COM objects with version-independent access to the IsSpecialName property.
Public property IsStatic Provides COM objects with version-independent access to the IsStatic property.
Public property IsVirtual Provides COM objects with version-independent access to the IsVirtual property.
Public property MemberType Provides COM objects with version-independent access to the MemberType property.
Public property MethodHandle Provides COM objects with version-independent access to the MethodHandle property.
Public property Name Provides COM objects with version-independent access to the Name property.
Public property ReflectedType Provides COM objects with version-independent access to the ReflectedType property.
Top
  Name Description
Public method Equals Provides COM objects with version-independent access to the Equals method.
Public method GetCustomAttributes(Boolean) Provides COM objects with version-independent access to the GetCustomAttributes method.
Public method GetCustomAttributes(Type, Boolean) Provides COM objects with version-independent access to the GetCustomAttributes method.
Public method GetHashCode Provides COM objects with version-independent access to the GetHashCode method.
Public method GetIDsOfNames Maps a set of names to a corresponding set of dispatch identifiers.
Public method GetMethodImplementationFlags Provides COM objects with version-independent access to the GetMethodImplementationFlags member.
Public method GetParameters Provides COM objects with version-independent access to the GetParameters method.
Public method GetType Provides COM objects with version-independent access to the GetType method.
Public method GetTypeInfo Retrieves the type information for an object, which can then be used to get the type information for an interface.
Public method GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1).
Public method Invoke Provides access to properties and methods exposed by an object.
Public method Invoke_2 Provides COM objects with version-independent access to the Invoke method.
Public method Invoke_3 Provides COM objects with version-independent access to the Invoke method.
Public method Invoke_4 Provides COM objects with version-independent access to the Invoke method.
Public method Invoke_5 Provides COM objects with version-independent access to the Invoke method.
Public method IsDefined Provides COM objects with version-independent access to the IsDefined member.
Public method ToString Provides COM objects with version-independent access to the ToString method.
Top

This interface is for access to managed classes from unmanaged code, and should not be called from managed code.

The System.Reflection.ConstructorInfo class discovers the attributes of a class constructor and provides access to constructor metadata.

The System.Runtime.InteropServices._ConstructorInfo interface preserves the vtable order of the System.Reflection.ConstructorInfo class members that can be accessed by unmanaged COM objects.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ