Редагувати

Поділитися через


_ConstructorInfo Interface

Definition

Important

This API is not CLS-compliant.

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

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
Derived
Attributes

Remarks

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.

Properties

Attributes

Provides COM objects with version-independent access to the Attributes property.

CallingConvention

Provides COM objects with version-independent access to the CallingConvention property.

DeclaringType

Provides COM objects with version-independent access to the DeclaringType property.

IsAbstract

Provides COM objects with version-independent access to the IsAbstract property.

IsAssembly

Provides COM objects with version-independent access to the IsAssembly property.

IsConstructor

Provides COM objects with version-independent access to the IsConstructor property.

IsFamily

Provides COM objects with version-independent access to the IsFamily property.

IsFamilyAndAssembly

Provides COM objects with version-independent access to the IsFamilyAndAssembly property.

IsFamilyOrAssembly

Provides COM objects with version-independent access to the IsFamilyOrAssembly property.

IsFinal

Provides COM objects with version-independent access to the IsFinal property.

IsHideBySig

Provides COM objects with version-independent access to the IsHideBySig property.

IsPrivate

Provides COM objects with version-independent access to the IsPrivate property.

IsPublic

Provides COM objects with version-independent access to the IsPublic property.

IsSpecialName

Provides COM objects with version-independent access to the IsSpecialName property.

IsStatic

Provides COM objects with version-independent access to the IsStatic property.

IsVirtual

Provides COM objects with version-independent access to the IsVirtual property.

MemberType

Provides COM objects with version-independent access to the MemberType property.

MethodHandle

Provides COM objects with version-independent access to the MethodHandle property.

Name

Provides COM objects with version-independent access to the Name property.

ReflectedType

Provides COM objects with version-independent access to the ReflectedType property.

Methods

Equals(Object)

Provides COM objects with version-independent access to the Equals(Object) method.

GetCustomAttributes(Boolean)

Provides COM objects with version-independent access to the GetCustomAttributes(Boolean) method.

GetCustomAttributes(Type, Boolean)

Provides COM objects with version-independent access to the GetCustomAttributes(Type, Boolean) method.

GetHashCode()

Provides COM objects with version-independent access to the GetHashCode() method.

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

Maps a set of names to a corresponding set of dispatch identifiers.

GetMethodImplementationFlags()

Provides COM objects with version-independent access to the GetMethodImplementationFlags() member.

GetParameters()

Provides COM objects with version-independent access to the GetParameters() method.

GetType()

Provides COM objects with version-independent access to the GetType() method.

GetTypeInfo(UInt32, UInt32, IntPtr)

Retrieves the type information for an object, which can then be used to get the type information for an interface.

GetTypeInfoCount(UInt32)

Retrieves the number of type information interfaces that an object provides (either 0 or 1).

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

Provides COM objects with version-independent access to the Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) method.

Invoke_3(Object, Object[])

Provides COM objects with version-independent access to the Invoke(Object, Object[]) method.

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

Provides COM objects with version-independent access to the Invoke(BindingFlags, Binder, Object[], CultureInfo) method.

Invoke_5(Object[])

Provides COM objects with version-independent access to the Invoke(Object[]) method.

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

Provides access to properties and methods exposed by an object.

IsDefined(Type, Boolean)

Provides COM objects with version-independent access to the IsDefined(Type, Boolean) member.

ToString()

Provides COM objects with version-independent access to the ToString() method.

Applies to