PrimaryInteropAssemblyAttribute(Int32, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om