ITypeComp 接口


提供 ITypeComp 接口的托管定义。Provides the managed definition of the ITypeComp interface.

public interface class ITypeComp
public interface ITypeComp
type ITypeComp = interface
Public Interface ITypeComp


有关 ITypeComp 接口的详细信息,请参阅 MSDN Library。For more information about the ITypeComp interface, see the MSDN Library.

当本机代码中的 COM 方法返回 HRESULT 时,公共语言运行时将引发异常。The common language runtime throws an exception when a COM method in native code returns an HRESULT. 有关更多信息,请参见 How to: Map HRESULTs and ExceptionsFor more information, see How to: Map HRESULTs and Exceptions.


Bind(String, Int32, Int16, ITypeInfo, DESCKIND, BINDPTR)

将名称映射到类型的成员,或者绑定类型库中包含的全局变量和函数。Maps a name to a member of a type, or binds global variables and functions contained in a type library.

BindType(String, Int32, ITypeInfo, ITypeComp)

绑定到包含在类型库中的类型说明。Binds to the type descriptions contained within a type library.