TypeLibImportClassAttribute(Type) 建構函式

定義

初始化 TypeLibImportClassAttribute 類別的新執行個體,並指定以獨佔方式使用介面的 Type

public:
 TypeLibImportClassAttribute(Type ^ importClass);
public TypeLibImportClassAttribute (Type importClass);
new System.Runtime.InteropServices.TypeLibImportClassAttribute : Type -> System.Runtime.InteropServices.TypeLibImportClassAttribute
Public Sub New (importClass As Type)

參數

importClass
Type

以獨佔方式使用介面的 Type 物件。

備註

TypeLibImportClassAttribute 屬性套用至 Managed 介面,以指定 Type 獨佔使用 介面的物件。

適用於