Breyta

Deila með


PrimaryInteropAssemblyAttribute(Int32, Int32) Constructor

Definition

Initializes a new instance of the PrimaryInteropAssemblyAttribute class with the major and minor version numbers of the type library for which this assembly is the primary interop assembly.

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)

Parameters

major
Int32

The major version of the type library for which this assembly is the primary interop assembly.

minor
Int32

The minor version of the type library for which this assembly is the primary interop assembly.

Remarks

The PrimaryInteropAssemblyAttribute can appear multiple times if the assembly is the primary interop assembly for multiple versions of the same type library.

Applies to