PrimaryInteropAssemblyAttribute-Konstruktor: (Int32, Int32)
Veröffentlicht: Oktober 2016
Initialisiert eine neue Instanz der PrimaryInteropAssemblyAttribute -Klasse mit der Haupt-und Nebenversionsnummer der Typbibliothek, für die diese Assembly die primäre Interop-Assembly ist.
Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Syntax
public PrimaryInteropAssemblyAttribute(
int major,
int minor
)
public:
PrimaryInteropAssemblyAttribute(
int major,
int minor
)
new :
major:int *
minor:int -> PrimaryInteropAssemblyAttribute
Public Sub New (
major As Integer,
minor As Integer
)
Parameter
major
Type: System.Int32Die Hauptversion der Typbibliothek, für die diese Assembly die primäre Interop-Assembly ist.
minor
Type: System.Int32Die Nebenversion der Typbibliothek, für die diese Assembly die primäre Interop-Assembly ist.
Hinweise
Die PrimaryInteropAssemblyAttribute kann mehrfach auftreten, wenn die Assembly die primäre Interop-Assembly für mehrere Versionen derselben Typbibliothek ist.
Versionsinformationen
.NET Framework
Verfügbar seit 1.1
Siehe auch
PrimaryInteropAssemblyAttribute-Klasse
System.Runtime.InteropServices-Namespace
Zurück zum Anfang