PrimaryInteropAssemblyAttribute(Int32, Int32) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用此程序集是主互操作程序集的类型库的主版本号和次要版本号初始化类的新实例 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如果程序集是同一类型库的多个版本的主互操作程序集,则可能会多次显示该程序集。