InterfaceTypeAttribute-Konstruktor: (Int16)
Veröffentlicht: Oktober 2016
Initialisiert eine neue Instanz der InterfaceTypeAttribute -Klasse mit dem angegebenen ComInterfaceType Enumerationsmember.
Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Syntax
public InterfaceTypeAttribute(
short interfaceType
)
public:
InterfaceTypeAttribute(
short interfaceType
)
new :
interfaceType:int16 -> InterfaceTypeAttribute
Public Sub New (
interfaceType As Short
)
Parameter
interfaceType
Type: System.Int16Beschreibt, wie die Schnittstelle für COM-Clients verfügbar gemacht werden soll.
Hinweise
Dieser Konstruktor nimmt eine zugrunde liegende 16-Bit-Ganzzahl, die jeweils ComInterfaceType -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 4.0
Windows Phone Silverlight
Verfügbar seit 8.0
Windows Phone
Verfügbar seit 8.1
Siehe auch
InterfaceTypeAttribute Überladen
InterfaceTypeAttribute-Klasse
System.Runtime.InteropServices-Namespace
Tlbimp.exe (Type Library Importer)
Zurück zum Anfang