CoClassAttribute(Type) 构造函数

定义

用原始 coclass 的类标识符初始化 CoClassAttribute 的新实例。Initializes new instance of the CoClassAttribute with the class identifier of the original coclass.

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

参数

coClass
Type

一个 Type,它包含原始 coclass 的类标识符。A Type that contains the class identifier of the original coclass.

适用于