ComDefaultInterfaceAttribute-Konstruktor: (Type)
Veröffentlicht: Oktober 2016
Initialisiert eine neue Instanz von der ComDefaultInterfaceAttribute -Klasse mit dem angegebenen System.Type als für COM verfügbar gemachte Objekt
Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Syntax
public ComDefaultInterfaceAttribute(
Type defaultInterface
)
public:
ComDefaultInterfaceAttribute(
Type^ defaultInterface
)
new :
defaultInterface:Type -> ComDefaultInterfaceAttribute
Public Sub New (
defaultInterface As Type
)
Parameter
defaultInterface
Type: System.TypeEin System.Type Wert, der die Standardschnittstelle für COM verfügbar gemacht
Hinweise
Die defaultInterface an den Konstruktor übergebenen Typs muss für COM sichtbar sein
Versionsinformationen
Universelle Windows-Plattform
Verfügbar seit 8
.NET Framework
Verfügbar seit 2.0
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
ComDefaultInterfaceAttribute-Klasse
System.Runtime.InteropServices-Namespace
Zurück zum Anfang