Share via


ComSourceInterfacesAttribute Konstruktor

Definisi

Menginisialisasi instans baru kelas ComSourceInterfacesAttribute.

Overload

ComSourceInterfacesAttribute(String)

Menginisialisasi instans ComSourceInterfacesAttribute baru kelas dengan nama antarmuka sumber peristiwa.

ComSourceInterfacesAttribute(Type)

Menginisialisasi instans ComSourceInterfacesAttribute baru kelas dengan jenis untuk digunakan sebagai antarmuka sumber.

ComSourceInterfacesAttribute(Type, Type)

Menginisialisasi instans ComSourceInterfacesAttribute baru kelas dengan jenis yang akan digunakan sebagai antarmuka sumber.

ComSourceInterfacesAttribute(Type, Type, Type)

Menginisialisasi instans ComSourceInterfacesAttribute baru kelas dengan jenis yang akan digunakan sebagai antarmuka sumber.

ComSourceInterfacesAttribute(Type, Type, Type, Type)

Menginisialisasi instans ComSourceInterfacesAttribute baru kelas dengan jenis yang akan digunakan sebagai antarmuka sumber.

ComSourceInterfacesAttribute(String)

Sumber:
ComSourceInterfacesAttribute.cs
Sumber:
ComSourceInterfacesAttribute.cs
Sumber:
ComSourceInterfacesAttribute.cs

Menginisialisasi instans ComSourceInterfacesAttribute baru kelas dengan nama antarmuka sumber peristiwa.

public:
 ComSourceInterfacesAttribute(System::String ^ sourceInterfaces);
public ComSourceInterfacesAttribute (string sourceInterfaces);
new System.Runtime.InteropServices.ComSourceInterfacesAttribute : string -> System.Runtime.InteropServices.ComSourceInterfacesAttribute
Public Sub New (sourceInterfaces As String)

Parameter

sourceInterfaces
String

Daftar nama antarmuka sumber peristiwa yang sepenuhnya memenuhi syarat yang dibatasi null.

Keterangan

Gunakan konstruktor ini untuk mengekspos lebih dari empat antarmuka sumber peristiwa ke klien COM.

Berlaku untuk

ComSourceInterfacesAttribute(Type)

Sumber:
ComSourceInterfacesAttribute.cs
Sumber:
ComSourceInterfacesAttribute.cs
Sumber:
ComSourceInterfacesAttribute.cs

Menginisialisasi instans ComSourceInterfacesAttribute baru kelas dengan jenis untuk digunakan sebagai antarmuka sumber.

public:
 ComSourceInterfacesAttribute(Type ^ sourceInterface);
public ComSourceInterfacesAttribute (Type sourceInterface);
new System.Runtime.InteropServices.ComSourceInterfacesAttribute : Type -> System.Runtime.InteropServices.ComSourceInterfacesAttribute
Public Sub New (sourceInterface As Type)

Parameter

sourceInterface
Type

Antarmuka Type sumber.

Keterangan

Gunakan konstruktor ini untuk mengekspos satu antarmuka sumber peristiwa ke klien COM.

Berlaku untuk

ComSourceInterfacesAttribute(Type, Type)

Sumber:
ComSourceInterfacesAttribute.cs
Sumber:
ComSourceInterfacesAttribute.cs
Sumber:
ComSourceInterfacesAttribute.cs

Menginisialisasi instans ComSourceInterfacesAttribute baru kelas dengan jenis yang akan digunakan sebagai antarmuka sumber.

public:
 ComSourceInterfacesAttribute(Type ^ sourceInterface1, Type ^ sourceInterface2);
public ComSourceInterfacesAttribute (Type sourceInterface1, Type sourceInterface2);
new System.Runtime.InteropServices.ComSourceInterfacesAttribute : Type * Type -> System.Runtime.InteropServices.ComSourceInterfacesAttribute
Public Sub New (sourceInterface1 As Type, sourceInterface2 As Type)

Parameter

sourceInterface1
Type

Type Dari antarmuka sumber default.

sourceInterface2
Type

Antarmuka Type sumber.

Keterangan

Gunakan konstruktor ini untuk mengekspos dua antarmuka sumber peristiwa ke klien COM.

Berlaku untuk

ComSourceInterfacesAttribute(Type, Type, Type)

Sumber:
ComSourceInterfacesAttribute.cs
Sumber:
ComSourceInterfacesAttribute.cs
Sumber:
ComSourceInterfacesAttribute.cs

Menginisialisasi instans ComSourceInterfacesAttribute baru kelas dengan jenis yang akan digunakan sebagai antarmuka sumber.

public:
 ComSourceInterfacesAttribute(Type ^ sourceInterface1, Type ^ sourceInterface2, Type ^ sourceInterface3);
public ComSourceInterfacesAttribute (Type sourceInterface1, Type sourceInterface2, Type sourceInterface3);
new System.Runtime.InteropServices.ComSourceInterfacesAttribute : Type * Type * Type -> System.Runtime.InteropServices.ComSourceInterfacesAttribute
Public Sub New (sourceInterface1 As Type, sourceInterface2 As Type, sourceInterface3 As Type)

Parameter

sourceInterface1
Type

Type Dari antarmuka sumber default.

sourceInterface2
Type

Antarmuka Type sumber.

sourceInterface3
Type

Antarmuka Type sumber.

Keterangan

Gunakan konstruktor ini untuk mengekspos tiga antarmuka sumber peristiwa ke klien COM.

Berlaku untuk

ComSourceInterfacesAttribute(Type, Type, Type, Type)

Sumber:
ComSourceInterfacesAttribute.cs
Sumber:
ComSourceInterfacesAttribute.cs
Sumber:
ComSourceInterfacesAttribute.cs

Menginisialisasi instans ComSourceInterfacesAttribute baru kelas dengan jenis yang akan digunakan sebagai antarmuka sumber.

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

Parameter

sourceInterface1
Type

Type Dari antarmuka sumber default.

sourceInterface2
Type

Antarmuka Type sumber.

sourceInterface3
Type

Antarmuka Type sumber.

sourceInterface4
Type

Antarmuka Type sumber.

Keterangan

Gunakan konstruktor ini untuk mengekspos empat antarmuka sumber peristiwa ke klien COM.

Berlaku untuk