TypeLibImportClassAttribute(Type) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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)
参数
注解
将 TypeLibImportClassAttribute 特性应用于托管接口, Type 以指定专门使用该接口的对象。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将推出:在整个 2024 年,我们将逐步取消以“GitHub 问题”作为内容的反馈机制,并将其替换为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈