_ConstructorInfo _ConstructorInfo _ConstructorInfo _ConstructorInfo Interface

定义

重要

此 API 不符合 CLS。

向非托管代码公开 ConstructorInfo 类的公共成员。Exposes the public members of the ConstructorInfo class to unmanaged code.

public interface class _ConstructorInfo
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("E9A19478-9646-3679-9B10-8411AE1FD57D")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface _ConstructorInfo
type _ConstructorInfo = interface
Public Interface _ConstructorInfo
派生
属性

注解

此接口用于从非托管代码访问托管类,不应从托管代码调用。This interface is for access to managed classes from unmanaged code, and should not be called from managed code.

System.Reflection.ConstructorInfo类可发现类构造函数的特性,并提供对构造函数元数据的访问。The System.Reflection.ConstructorInfo class discovers the attributes of a class constructor and provides access to constructor metadata.

接口保留了可由非托管 COM System.Reflection.ConstructorInfo对象访问的类成员的 vtable 顺序。 System.Runtime.InteropServices._ConstructorInfoThe System.Runtime.InteropServices._ConstructorInfo interface preserves the vtable order of the System.Reflection.ConstructorInfo class members that can be accessed by unmanaged COM objects.

属性

Attributes Attributes Attributes Attributes

为 COM 对象提供对 Attributes 属性的与版本无关的访问。Provides COM objects with version-independent access to the Attributes property.

CallingConvention CallingConvention CallingConvention CallingConvention

为 COM 对象提供对 CallingConvention 属性的与版本无关的访问。Provides COM objects with version-independent access to the CallingConvention property.

DeclaringType DeclaringType DeclaringType DeclaringType

为 COM 对象提供对 DeclaringType 属性的与版本无关的访问。Provides COM objects with version-independent access to the DeclaringType property.

IsAbstract IsAbstract IsAbstract IsAbstract

为 COM 对象提供对 IsAbstract 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsAbstract property.

IsAssembly IsAssembly IsAssembly IsAssembly

为 COM 对象提供对 IsAssembly 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsAssembly property.

IsConstructor IsConstructor IsConstructor IsConstructor

为 COM 对象提供对 IsConstructor 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsConstructor property.

IsFamily IsFamily IsFamily IsFamily

为 COM 对象提供对 IsFamily 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsFamily property.

IsFamilyAndAssembly IsFamilyAndAssembly IsFamilyAndAssembly IsFamilyAndAssembly

为 COM 对象提供对 IsFamilyAndAssembly 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsFamilyAndAssembly property.

IsFamilyOrAssembly IsFamilyOrAssembly IsFamilyOrAssembly IsFamilyOrAssembly

为 COM 对象提供对 IsFamilyOrAssembly 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsFamilyOrAssembly property.

IsFinal IsFinal IsFinal IsFinal

为 COM 对象提供对 IsFinal 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsFinal property.

IsHideBySig IsHideBySig IsHideBySig IsHideBySig

为 COM 对象提供对 IsHideBySig 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsHideBySig property.

IsPrivate IsPrivate IsPrivate IsPrivate

为 COM 对象提供对 IsPrivate 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsPrivate property.

IsPublic IsPublic IsPublic IsPublic

为 COM 对象提供对 IsPublic 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsPublic property.

IsSpecialName IsSpecialName IsSpecialName IsSpecialName

为 COM 对象提供对 IsSpecialName 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsSpecialName property.

IsStatic IsStatic IsStatic IsStatic

为 COM 对象提供对 IsStatic 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsStatic property.

IsVirtual IsVirtual IsVirtual IsVirtual

为 COM 对象提供对 IsVirtual 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsVirtual property.

MemberType MemberType MemberType MemberType

为 COM 对象提供对 MemberType 属性的与版本无关的访问。Provides COM objects with version-independent access to the MemberType property.

MethodHandle MethodHandle MethodHandle MethodHandle

为 COM 对象提供对 MethodHandle 属性的与版本无关的访问。Provides COM objects with version-independent access to the MethodHandle property.

Name Name Name Name

为 COM 对象提供对 Name 属性的与版本无关的访问。Provides COM objects with version-independent access to the Name property.

ReflectedType ReflectedType ReflectedType ReflectedType

为 COM 对象提供对 ReflectedType 属性的与版本无关的访问。Provides COM objects with version-independent access to the ReflectedType property.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

为 COM 对象提供对 Equals(Object) 方法的与版本无关的访问。Provides COM objects with version-independent access to the Equals(Object) method.

GetCustomAttributes(Boolean) GetCustomAttributes(Boolean) GetCustomAttributes(Boolean) GetCustomAttributes(Boolean)

为 COM 对象提供对 GetCustomAttributes(Boolean) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetCustomAttributes(Boolean) method.

GetCustomAttributes(Type, Boolean) GetCustomAttributes(Type, Boolean) GetCustomAttributes(Type, Boolean) GetCustomAttributes(Type, Boolean)

为 COM 对象提供对 GetCustomAttributes(Type, Boolean) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetCustomAttributes(Type, Boolean) method.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

为 COM 对象提供对 GetHashCode() 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetHashCode() method.

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

将一组名称映射为对应的一组调度标识符。Maps a set of names to a corresponding set of dispatch identifiers.

GetMethodImplementationFlags() GetMethodImplementationFlags() GetMethodImplementationFlags() GetMethodImplementationFlags()

为 COM 对象提供对 GetMethodImplementationFlags() 成员的版本无关的访问。Provides COM objects with version-independent access to the GetMethodImplementationFlags() member.

GetParameters() GetParameters() GetParameters() GetParameters()

为 COM 对象提供对 GetParameters() 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetParameters() method.

GetType() GetType() GetType() GetType()

为 COM 对象提供对 GetType() 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetType() method.

GetTypeInfo(UInt32, UInt32, IntPtr) GetTypeInfo(UInt32, UInt32, IntPtr) GetTypeInfo(UInt32, UInt32, IntPtr) 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) GetTypeInfoCount(UInt32) GetTypeInfoCount(UInt32) GetTypeInfoCount(UInt32)

检索对象提供的类型信息接口的数量(0 或 1)。Retrieves the number of type information interfaces that an object provides (either 0 or 1).

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

提供对某一对象公开的属性和方法的访问。Provides access to properties and methods exposed by an object.

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

为 COM 对象提供对 Invoke(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[]) Invoke_3(Object, Object[]) Invoke_3(Object, Object[]) Invoke_3(Object, Object[])

为 COM 对象提供对 Invoke(Object, Object[]) 方法的版本无关的访问。Provides COM objects with version-independent access to the Invoke(Object, Object[]) method.

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

为 COM 对象提供对 Invoke(BindingFlags, Binder, Object[], CultureInfo) 方法的与版本无关的访问。Provides COM objects with version-independent access to the Invoke(BindingFlags, Binder, Object[], CultureInfo) method.

Invoke_5(Object[]) Invoke_5(Object[]) Invoke_5(Object[]) Invoke_5(Object[])

为 COM 对象提供对 Invoke(Object[]) 方法的版本无关的访问。Provides COM objects with version-independent access to the Invoke(Object[]) method.

IsDefined(Type, Boolean) IsDefined(Type, Boolean) IsDefined(Type, Boolean) IsDefined(Type, Boolean)

为 COM 对象提供对 IsDefined(Type, Boolean) 成员的版本无关的访问。Provides COM objects with version-independent access to the IsDefined(Type, Boolean) member.

ToString() ToString() ToString() ToString()

为 COM 对象提供对 ToString() 方法的与版本无关的访问。Provides COM objects with version-independent access to the ToString() method.

适用于