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
Povratne informacije
https://aka.ms/ContentUserFeedback.
Stiže uskoro: Tijekom 2024. postupno ćemo ukinuti servis Problemi sa servisom GitHub kao mehanizam za povratne informacije za sadržaj i zamijeniti ga novim sustavom za povratne informacije. Dodatne informacije potražite u članku:Pošaljite i pogledajte povratne informacije za