_ConstructorInfo 介面

定義

重要

此 API 不符合 CLS 規範。

公開 ConstructorInfo 類別的公用成員至 Unmanaged 程式碼。

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
衍生
屬性

備註

此介面適用于從 Unmanaged 程式碼存取 Managed 類別,不應從 Managed 程式碼呼叫。

類別 System.Reflection.ConstructorInfo 會探索類別建構函式的屬性,並提供建構函式中繼資料的存取權。

介面 System.Runtime.InteropServices._ConstructorInfo 會保留非受控 COM 物件可存取之 System.Reflection.ConstructorInfo 類別成員的 vtable 順序。

屬性

Attributes

為 COM 物件提供與版本無關的 Attributes 屬性之存取權。

CallingConvention

為 COM 物件提供與版本無關的 CallingConvention 屬性之存取權。

DeclaringType

為 COM 物件提供與版本無關的 DeclaringType 屬性之存取權。

IsAbstract

為 COM 物件提供與版本無關的 IsAbstract 屬性之存取權。

IsAssembly

為 COM 物件提供與版本無關的 IsAssembly 屬性之存取權。

IsConstructor

為 COM 物件提供與版本無關的 IsConstructor 屬性之存取權。

IsFamily

為 COM 物件提供與版本無關的 IsFamily 屬性之存取權。

IsFamilyAndAssembly

為 COM 物件提供與版本無關的 IsFamilyAndAssembly 屬性之存取權。

IsFamilyOrAssembly

為 COM 物件提供與版本無關的 IsFamilyOrAssembly 屬性之存取權。

IsFinal

為 COM 物件提供與版本無關的 IsFinal 屬性之存取權。

IsHideBySig

為 COM 物件提供與版本無關的 IsHideBySig 屬性之存取權。

IsPrivate

為 COM 物件提供與版本無關的 IsPrivate 屬性之存取權。

IsPublic

為 COM 物件提供與版本無關的 IsPublic 屬性之存取權。

IsSpecialName

為 COM 物件提供與版本無關的 IsSpecialName 屬性之存取權。

IsStatic

為 COM 物件提供與版本無關的 IsStatic 屬性之存取權。

IsVirtual

為 COM 物件提供與版本無關的 IsVirtual 屬性之存取權。

MemberType

為 COM 物件提供與版本無關的 MemberType 屬性之存取權。

MethodHandle

為 COM 物件提供與版本無關的 MethodHandle 屬性之存取權。

Name

為 COM 物件提供與版本無關的 Name 屬性之存取權。

ReflectedType

為 COM 物件提供與版本無關的 ReflectedType 屬性之存取權。

方法

Equals(Object)

為 COM 物件提供與版本無關的 Equals(Object) 方法之存取權。

GetCustomAttributes(Boolean)

為 COM 物件提供與版本無關的 GetCustomAttributes(Boolean) 方法之存取權。

GetCustomAttributes(Type, Boolean)

為 COM 物件提供與版本無關的 GetCustomAttributes(Type, Boolean) 方法之存取權。

GetHashCode()

為 COM 物件提供與版本無關的 GetHashCode() 方法之存取權。

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

將一組名稱對應至一組對應的分派識別項 (Dispatch Identifier)。

GetMethodImplementationFlags()

為 COM 物件提供與版本無關的 GetMethodImplementationFlags() 成員存取。

GetParameters()

為 COM 物件提供與版本無關的 GetParameters() 方法之存取權。

GetType()

為 COM 物件提供與版本無關的 GetType() 方法之存取權。

GetTypeInfo(UInt32, UInt32, IntPtr)

擷取物件的類型資訊,可以用來取得介面的類型資訊。

GetTypeInfoCount(UInt32)

擷取物件提供的類型資訊介面數目 (0 或 1)。

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

提供物件所公開的屬性和方法的存取權。

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

為 COM 物件提供與版本無關的 Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) 方法之存取權。

Invoke_3(Object, Object[])

為 COM 物件提供與版本無關的 Invoke(Object, Object[]) 方法之存取權。

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

為 COM 物件提供與版本無關的 Invoke(BindingFlags, Binder, Object[], CultureInfo) 方法之存取權。

Invoke_5(Object[])

為 COM 物件提供與版本無關的 Invoke(Object[]) 方法之存取權。

IsDefined(Type, Boolean)

為 COM 物件提供與版本無關的 IsDefined(Type, Boolean) 成員存取。

ToString()

為 COM 物件提供與版本無關的 ToString() 方法之存取權。

適用於