Freigeben über


ComSourceInterfacesAttribute-Konstruktor: (Type)

 

Veröffentlicht: Oktober 2016

Initialisiert eine neue Instanz der der ComSourceInterfacesAttribute Klasse mit dem Typ, der als Quellschnittstelle verwenden.

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

Syntax

public ComSourceInterfacesAttribute(
    Type sourceInterface
)
public:
ComSourceInterfacesAttribute(
    Type^ sourceInterface
)
new : 
        sourceInterface:Type -> ComSourceInterfacesAttribute
Public Sub New (
    sourceInterface As Type
)

Parameter

Hinweise

Verwenden Sie diesen Konstruktor, um eine einzige Ereignisquellen-Schnittstelle für COM-Clients verfügbar zu machen.

Versionsinformationen

Universelle Windows-Plattform
Verfügbar seit 8
.NET Framework
Verfügbar seit 1.1
Portierbare Klassenbibliothek
Unterstützt in: portierbare .NET-Plattformen
Windows Phone
Verfügbar seit 8.1

Siehe auch

ComSourceInterfacesAttribute Überladen
ComSourceInterfacesAttribute-Klasse
System.Runtime.InteropServices-Namespace

Zurück zum Anfang