ClassInterfaceAttribute-Konstruktor: (ClassInterfaceType)
Veröffentlicht: August 2016
Initialisiert eine neue Instanz der dem ClassInterfaceAttribute Klasse mit dem angegebenen ClassInterfaceType Enumerationsmember.
Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Syntax
public ClassInterfaceAttribute(
ClassInterfaceType classInterfaceType
)
public:
ClassInterfaceAttribute(
ClassInterfaceType classInterfaceType
)
new :
classInterfaceType:ClassInterfaceType -> ClassInterfaceAttribute
Public Sub New (
classInterfaceType As ClassInterfaceType
)
Parameter
classInterfaceType
Type: System.Runtime.InteropServices.ClassInterfaceTypeEines der ClassInterfaceType Werten, die den Typ der Schnittstelle beschreiben, die für eine Klasse generiert wird.
Hinweise
Verwenden Sie für Code übersichtlicher gestalten, die weniger fehleranfällig ist immer diesen Konstruktor.
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
ClassInterfaceAttribute Überladen
ClassInterfaceAttribute-Klasse
System.Runtime.InteropServices-Namespace
Zurück zum Anfang