ITypeComp 接口

定义

提供 ITypeComp 接口的托管定义。

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

注解

有关详细信息,请参阅 ITypeComp 接口

当本机代码中的 COM 方法返回 HRESULT 时,公共语言运行时会引发异常。 有关更多信息,请参见 How to: Map HRESULTs and Exceptions

方法

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

将名称映射到类型的成员,或者绑定类型库中包含的全局变量和函数。

BindType(String, Int32, ITypeInfo, ITypeComp)

绑定到包含在类型库中的类型说明。

适用于