ITypeComp 介面

定義

提供 ITypeComp 介面的 Managed 定義。

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 介面

Common Language Runtime 會在機器碼中的 COM 方法傳回 HRESULT 時擲回例外狀況。 如需詳細資訊,請參閱 How to: Map HRESULTs and Exceptions

方法

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

對應名稱至型別的成員,或繫結包含於型別程式庫中的全域變數和函式。

BindType(String, Int32, ITypeInfo, ITypeComp)

繫結至型別程式庫內所包含的型別描述。

適用於