ITypeComp ITypeComp ITypeComp ITypeComp Interface

定义

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

public interface class ITypeComp
[System.Runtime.InteropServices.Guid("00020403-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface ITypeComp
type ITypeComp = interface
Public Interface ITypeComp
属性

注解

有关详细信息ITypeComp接口,请参阅 MSDN 库。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) Bind(String, Int32, Int16, ITypeInfo, DESCKIND, BINDPTR) Bind(String, Int32, Int16, ITypeInfo, DESCKIND, BINDPTR) 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) BindType(String, Int32, ITypeInfo, ITypeComp) BindType(String, Int32, ITypeInfo, ITypeComp) BindType(String, Int32, ITypeInfo, ITypeComp)

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

适用于