UCOMITypeLib 介面

定義

警告

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

警告

此 API 現已淘汰。

請改用 ITypeLib

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

備註

如需介面的其他 ITypeLib 資訊,請參閱 MSDN 程式庫。

方法

FindName(String, Int32, UCOMITypeInfo[], Int32[], Int16)

尋找型別描述在型別程式庫中的符合項目。

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

擷取程式庫的文件字串、完整的說明檔名稱和路徑,以及說明檔中程式庫說明主題的主題代碼。

GetLibAttr(IntPtr)

擷取包含程式庫之屬性 (Attribute) 的結構。

GetTypeComp(UCOMITypeComp)

讓用戶端編譯器 (Compiler) 繫結至程式庫的型別、變數、常數和全域函式。

GetTypeInfo(Int32, UCOMITypeInfo)

擷取程式庫中指定的型別描述。

GetTypeInfoCount()

傳回型別程式庫中型別描述的數目。

GetTypeInfoOfGuid(Guid, UCOMITypeInfo)

擷取對應到所指定 GUID 的型別描述。

GetTypeInfoType(Int32, TYPEKIND)

擷取型別描述的型別。

GetTypeInfoType(Int32, TYPEKIND)

擷取型別描述的型別。

IsName(String, Int32)

指示傳入字串是否含有程式庫中所描述型別或成員的名稱。

ReleaseTLibAttr(IntPtr)

釋放原來從 TYPELIBATTR 取得的 GetLibAttr(IntPtr)

適用於