ClassInterfaceAttribute-Konstruktor: (Int16)
Veröffentlicht: Oktober 2016
Initialisiert eine neue Instanz von der ClassInterfaceAttribute -Klasse mit dem angegebenen ClassInterfaceType -Enumerationswert.
Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Syntax
public ClassInterfaceAttribute(
short classInterfaceType
)
public:
ClassInterfaceAttribute(
short classInterfaceType
)
new :
classInterfaceType:int16 -> ClassInterfaceAttribute
Public Sub New (
classInterfaceType As Short
)
Parameter
classInterfaceType
Type: System.Int16Beschreibt den Typ der Schnittstelle, die für eine Klasse generiert wird.
Hinweise
Dieser Konstruktor nimmt eine zugrunde liegende 16-Bit-Ganzzahl mit Vorzeichen an, die jeweils ClassInterfaceType -Enumerationsmember. Die Tlbimp.exe (Type Library Importer) wird dieser Konstruktor verwendet.
Versionsinformationen
Universelle Windows-Plattform
Verfügbar seit 8
.NET Framework
Verfügbar seit 1.1
Portierbare Klassenbibliothek
Unterstützt in: portierbare .NET-Plattformen
Silverlight
Verfügbar seit 2.0
Windows Phone Silverlight
Verfügbar seit 7.0
Windows Phone
Verfügbar seit 8.1
Siehe auch
ClassInterfaceType
ClassInterfaceAttribute Überladen
ClassInterfaceAttribute-Klasse
System.Runtime.InteropServices-Namespace
Tlbimp.exe (Type Library Importer)
Zurück zum Anfang