Freigeben über


ClassInterfaceAttribute-Konstruktor (Int16)

Initialisiert eine neue Instanz der ClassInterfaceAttribute-Klasse mit dem angegebenen ClassInterfaceType-Enumerationswert.

Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public Sub New ( _
    classInterfaceType As Short _
)
'Usage
Dim classInterfaceType As Short

Dim instance As New ClassInterfaceAttribute(classInterfaceType)
public ClassInterfaceAttribute (
    short classInterfaceType
)
public:
ClassInterfaceAttribute (
    short classInterfaceType
)
public ClassInterfaceAttribute (
    short classInterfaceType
)
public function ClassInterfaceAttribute (
    classInterfaceType : short
)

Parameter

  • classInterfaceType
    Beschreibt den Schnittstellentyp, der für eine Klasse generiert wird.

Hinweise

Dieser Konstruktor nimmt eine zugrunde liegende 16-Bit-Ganzzahl mit Vorzeichen an, die die einzelnen ClassInterfaceType-Enumerationsmember darstellt. Type Library Importer-Tool (Tlbimp.exe) verwendet diesen Konstruktor.

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

.NET Compact Framework

Unterstützt in: 2.0

Siehe auch

Referenz

ClassInterfaceAttribute-Klasse
ClassInterfaceAttribute-Member
System.Runtime.InteropServices-Namespace
ClassInterfaceType

Weitere Ressourcen

Type Library Importer-Tool (Tlbimp.exe)