Freigeben über


ComSourceInterfacesAttribute-Konstruktor (Type, Type, Type)

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

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

Syntax

'Declaration
Public Sub New ( _
    sourceInterface1 As Type, _
    sourceInterface2 As Type, _
    sourceInterface3 As Type _
)
'Usage
Dim sourceInterface1 As Type
Dim sourceInterface2 As Type
Dim sourceInterface3 As Type

Dim instance As New ComSourceInterfacesAttribute(sourceInterface1, sourceInterface2, sourceInterface3)
public ComSourceInterfacesAttribute (
    Type sourceInterface1,
    Type sourceInterface2,
    Type sourceInterface3
)
public:
ComSourceInterfacesAttribute (
    Type^ sourceInterface1, 
    Type^ sourceInterface2, 
    Type^ sourceInterface3
)
public ComSourceInterfacesAttribute (
    Type sourceInterface1, 
    Type sourceInterface2, 
    Type sourceInterface3
)
public function ComSourceInterfacesAttribute (
    sourceInterface1 : Type, 
    sourceInterface2 : Type, 
    sourceInterface3 : Type
)

Parameter

  • sourceInterface1
    Der Type der Standard-Quellschnittstelle.
  • sourceInterface2
    Der Type einer Quellschnittstelle.
  • sourceInterface3
    Der Type einer Quellschnittstelle.

Hinweise

Verwenden Sie diesen Konstruktor, um drei Ereignisquellen-Schnittstellen für COM-Clients verfügbar zu machen.

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

ComSourceInterfacesAttribute-Klasse
ComSourceInterfacesAttribute-Member
System.Runtime.InteropServices-Namespace