PrimaryInteropAssemblyAttribute(Int32, Int32) 构造函数

定义

使用此程序集是主互操作程序集的类型库的主版本号和次要版本号初始化类的新实例 PrimaryInteropAssemblyAttribute

public:
 PrimaryInteropAssemblyAttribute(int major, int minor);
public PrimaryInteropAssemblyAttribute(int major, int minor);
new System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute : int * int -> System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute
Public Sub New (major As Integer, minor As Integer)

参数

major
Int32

此程序集是主互操作程序集的类型库的主要版本。

minor
Int32

此程序集是主互操作程序集的类型库的次要版本。

注解

PrimaryInteropAssemblyAttribute如果程序集是同一类型库的多个版本的主互操作程序集,则可能会多次显示该程序集。

适用于