Freigeben über


ComSourceInterfacesAttribute-Konstruktor: (Type, Type, Type, Type)

 

Veröffentlicht: Oktober 2016

Initialisiert eine neue Instanz der ComSourceInterfacesAttribute -Klasse mit den Typen, die als Schnittstellen verwendet.

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

Syntax

public ComSourceInterfacesAttribute(
    Type sourceInterface1,
    Type sourceInterface2,
    Type sourceInterface3,
    Type sourceInterface4
)
public:
ComSourceInterfacesAttribute(
    Type^ sourceInterface1,
    Type^ sourceInterface2,
    Type^ sourceInterface3,
    Type^ sourceInterface4
)
new : 
        sourceInterface1:Type *
        sourceInterface2:Type *
        sourceInterface3:Type *
        sourceInterface4:Type -> ComSourceInterfacesAttribute
Public Sub New (
    sourceInterface1 As Type,
    sourceInterface2 As Type,
    sourceInterface3 As Type,
    sourceInterface4 As Type
)

Parameter

  • sourceInterface1
    Type: System.Type

    Die Type der Standard-Quellschnittstelle.

Hinweise

Verwenden Sie diesen Konstruktor, um vier Ereignisquellen-Schnittstellen 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