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 特性应用于托管接口, Type 以指定专门使用该接口的对象。

适用于