StructLayoutAttribute-Konstruktor: (Int16)
Veröffentlicht: Oktober 2016
Initialisiert eine neue Instanz der StructLayoutAttribute-Klasse mit dem angegebenen System.Runtime.InteropServices.LayoutKind-Enumerationsmember.
Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Syntax
public StructLayoutAttribute(
short layoutKind
)
public:
StructLayoutAttribute(
short layoutKind
)
new :
layoutKind:int16 -> StructLayoutAttribute
Public Sub New (
layoutKind As Short
)
Parameter
layoutKind
Type: System.Int16Eine 16-Bit-Ganzzahl, die einen der LayoutKind-Werte darstellt, der angibt, wie die Klasse oder Struktur angeordnet werden soll.
Hinweise
Dieser Konstruktor nimmt eine zugrunde liegende 16-Bit-Ganzzahl, die jeweils LayoutKind -Enumerationsmember. Die Tlbimp.exe (Type Library Importer) wird dieser Konstruktor verwendet.
Versionsinformationen
.NET Framework
Verfügbar seit 1.1
Siehe auch
System.Runtime.InteropServices.LayoutKind
StructLayoutAttribute Überladen
StructLayoutAttribute-Klasse
System.Runtime.InteropServices-Namespace
Tlbimp.exe (Type Library Importer)
Zurück zum Anfang