UCOMITypeInfo 介面

定義

警告

Use System.Runtime.InteropServices.ComTypes.ITypeInfo instead. http://go.microsoft.com/fwlink/?linkid=14202

警告

此 API 現已淘汰。

請改用 ITypeInfo

public interface class UCOMITypeInfo
[System.Runtime.InteropServices.Guid("00020401-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMITypeInfo
[System.Runtime.InteropServices.Guid("00020401-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.ITypeInfo instead. http://go.microsoft.com/fwlink/?linkid=14202", false)]
public interface UCOMITypeInfo
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Obsolete]
[System.Runtime.InteropServices.Guid("00020401-0000-0000-c000-000000000046")]
public interface UCOMITypeInfo
[<System.Runtime.InteropServices.Guid("00020401-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type UCOMITypeInfo = interface
[<System.Runtime.InteropServices.Guid("00020401-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Obsolete("Use System.Runtime.InteropServices.ComTypes.ITypeInfo instead. http://go.microsoft.com/fwlink/?linkid=14202", false)>]
type UCOMITypeInfo = interface
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Obsolete>]
[<System.Runtime.InteropServices.Guid("00020401-0000-0000-c000-000000000046")>]
type UCOMITypeInfo = interface
Public Interface UCOMITypeInfo
屬性

備註

如需的詳細資訊 ITypeInfo ,請參閱 MSDN library。

方法

AddressOfMember(Int32, INVOKEKIND, IntPtr)

擷取靜態 (Static) 函式或變數的位址,例如在 DLL 中定義者。

CreateInstance(Object, Guid, Object)

建立描述元件類別 (coclass) 之類型的新執行個體。

GetContainingTypeLib(UCOMITypeLib, Int32)

擷取類型程式庫,其包含這個類型描述和它在該類型程式庫中的索引。

GetDllEntry(Int32, INVOKEKIND, String, String, Int16)

擷取 DLL 中函式之進入點 (Entry Point) 的描述或規格。

GetDocumentation(Int32, String, String, Int32, String)

擷取文件字串、完整的說明檔名稱和路徑,以及指定類型描述之說明主題的主題代碼。

GetFuncDesc(Int32, IntPtr)

擷取包含所指定函式相關資訊的 FUNCDESC 結構。

GetIDsOfNames(String[], Int32, Int32[])

成員名稱與成員 ID 之間,以及參數名稱與參數 ID 之間的對應。

GetImplTypeFlags(Int32, Int32)

擷取類型描述中某個已實作之介面或基底介面的 IMPLTYPEFLAGS 值。

GetMops(Int32, String)

擷取封送處理 (Marshaling) 資訊。

GetNames(Int32, String[], Int32, Int32)

擷取具有對應到所指定函式 ID 之指定成員 ID (或者屬性或方法的名稱及其參數) 的變數。

GetRefTypeInfo(Int32, UCOMITypeInfo)

如果類型描述參考到其他類型描述,它會擷取參考的類型描述。

GetRefTypeOfImplType(Int32, Int32)

如果類型描述 COM 類別,則它會擷取已實作介面類型的類型描述。

GetTypeAttr(IntPtr)

擷取包含類型描述之屬性 (Attribute) 的 TYPEATTR 結構。

GetTypeComp(UCOMITypeComp)

擷取類型描述的 ITypeComp 介面,它可以讓用戶端編譯器 (Compiler) 繫結至類型描述的成員。

GetVarDesc(Int32, IntPtr)

擷取描述所指定變數的 VARDESC 結構。

Invoke(Object, Int32, Int16, DISPPARAMS, Object, EXCEPINFO, Int32)

叫用 (Invoke) 實作類型描述所描述之介面的方法,或存取實作類型描述所描述之介面的物件屬性。

ReleaseFuncDesc(IntPtr)

釋放先前由 FUNCDESC 傳回的 GetFuncDesc(Int32, IntPtr)

ReleaseTypeAttr(IntPtr)

釋放先前由 TYPEATTR 傳回的 GetTypeAttr(IntPtr)

ReleaseVarDesc(IntPtr)

釋放先前由 VARDESC 傳回的 GetVarDesc(Int32, IntPtr)

適用於