TypeLibImportClassAttribute(Type) 构造函数

定义

初始化 TypeLibImportClassAttribute 类的新实例,指定独占使用接口的 TypeInitializes a new instance of the TypeLibImportClassAttribute class specifying the Type that exclusively uses an interface.

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 对象。The Type object that exclusively uses an interface.

注解

将特性应用于 TypeLibImportClassAttribute 托管接口,以指定 Type 独占使用接口的对象。Apply the TypeLibImportClassAttribute attribute to a managed interface to specify the Type object that exclusively uses the interface.

适用于