Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PrimaryInteropAssemblyAttribute Constructor (Int32, Int32)

 

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.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

public:
PrimaryInteropAssemblyAttribute(
	int major,
	int minor
)

Parameters

major
Type: System::Int32

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

minor
Type: System::Int32

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

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

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft