UCOMITypeLib UCOMITypeLib UCOMITypeLib UCOMITypeLib Interface

定义

警告

此 API 现已过时。

请改用 ITypeLibUse ITypeLib instead.

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

注解

有关其他信息ITypeLib接口,请参阅 MSDN 库。For additional information about the ITypeLib interface, see the MSDN Library.

方法

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

在类型库中查找类型说明的匹配项。Finds occurrences of a type description in a type library.

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

检索库的文档字符串、完整的帮助文件名和路径以及帮助文件中的库帮助主题的上下文标识符。Retrieves the library's documentation string, the complete Help file name and path, and the context identifier for the library Help topic in the Help file.

GetLibAttr(IntPtr) GetLibAttr(IntPtr) GetLibAttr(IntPtr) GetLibAttr(IntPtr)

检索包含库的特性的结构。Retrieves the structure that contains the library's attributes.

GetTypeComp(UCOMITypeComp) GetTypeComp(UCOMITypeComp) GetTypeComp(UCOMITypeComp) GetTypeComp(UCOMITypeComp)

使客户端编译器能够绑定到库的类型、变量、常数和全局函数。Enables a client compiler to bind to a library's types, variables, constants, and global functions.

GetTypeInfo(Int32, UCOMITypeInfo) GetTypeInfo(Int32, UCOMITypeInfo) GetTypeInfo(Int32, UCOMITypeInfo) GetTypeInfo(Int32, UCOMITypeInfo)

在库中检索指定的类型说明。Retrieves the specified type description in the library.

GetTypeInfoCount() GetTypeInfoCount() GetTypeInfoCount() GetTypeInfoCount()

返回类型库中的类型说明的数量。Returns the number of type descriptions in the type library.

GetTypeInfoOfGuid(Guid, UCOMITypeInfo) GetTypeInfoOfGuid(Guid, UCOMITypeInfo) GetTypeInfoOfGuid(Guid, UCOMITypeInfo) GetTypeInfoOfGuid(Guid, UCOMITypeInfo)

检索与指定的 GUID 相对应的类型说明。Retrieves the type description that corresponds to the specified GUID.

GetTypeInfoType(Int32, TYPEKIND) GetTypeInfoType(Int32, TYPEKIND) GetTypeInfoType(Int32, TYPEKIND) GetTypeInfoType(Int32, TYPEKIND)
GetTypeInfoType(Int32, TYPEKIND) GetTypeInfoType(Int32, TYPEKIND) GetTypeInfoType(Int32, TYPEKIND) GetTypeInfoType(Int32, TYPEKIND)

检索类型说明的类型。Retrieves the type of a type description.

IsName(String, Int32) IsName(String, Int32) IsName(String, Int32) IsName(String, Int32)

指示传入的字符串是否包含库中描述的类型或成员的名称。Indicates whether a passed-in string contains the name of a type or member described in the library.

ReleaseTLibAttr(IntPtr) ReleaseTLibAttr(IntPtr) ReleaseTLibAttr(IntPtr) ReleaseTLibAttr(IntPtr)

释放最初从 TYPELIBATTR 获取的 GetLibAttr(IntPtr)Releases the TYPELIBATTR originally obtained from GetLibAttr(IntPtr).

适用于