ComSourceInterfacesAttribute Konstruktory

Definice

Inicializuje novou instanci ComSourceInterfacesAttribute třídy.

Přetížení

ComSourceInterfacesAttribute(String)

Inicializuje novou instanci ComSourceInterfacesAttribute třídy s názvem rozhraní zdroje události.

ComSourceInterfacesAttribute(Type)

Inicializuje novou instanci ComSourceInterfacesAttribute třídy s typem, který se má použít jako zdrojové rozhraní.

ComSourceInterfacesAttribute(Type, Type)

Inicializuje novou instanci ComSourceInterfacesAttribute třídy s typy, které se mají použít jako zdrojová rozhraní.

ComSourceInterfacesAttribute(Type, Type, Type)

Inicializuje novou instanci ComSourceInterfacesAttribute třídy s typy, které se mají použít jako zdrojová rozhraní.

ComSourceInterfacesAttribute(Type, Type, Type, Type)

Inicializuje novou instanci ComSourceInterfacesAttribute třídy s typy, které se mají použít jako zdrojová rozhraní.

ComSourceInterfacesAttribute(String)

Inicializuje novou instanci ComSourceInterfacesAttribute třídy s názvem rozhraní zdroje události.

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)

Parametry

sourceInterfaces
String

Seznam plně kvalifikovaných názvů zdrojových rozhraní událostí s oddělovači null.

Poznámky

Pomocí tohoto konstruktoru můžete klientům modelu COM zpřístupnit více než čtyři rozhraní zdrojů událostí.

Platí pro

ComSourceInterfacesAttribute(Type)

Inicializuje novou instanci ComSourceInterfacesAttribute třídy s typem, který se má použít jako zdrojové rozhraní.

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

Parametry

sourceInterface
Type

Zdrojové Type rozhraní.

Poznámky

Pomocí tohoto konstruktoru můžete klientům modelu COM zveřejnit jedno zdrojové rozhraní událostí.

Platí pro

ComSourceInterfacesAttribute(Type, Type)

Inicializuje novou instanci ComSourceInterfacesAttribute třídy s typy, které se mají použít jako zdrojová rozhraní.

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)

Parametry

sourceInterface1
Type

Výchozí Type zdrojové rozhraní.

sourceInterface2
Type

Zdrojové Type rozhraní.

Poznámky

Pomocí tohoto konstruktoru můžete klientům MODELU COM vystavit dvě zdrojová rozhraní událostí.

Platí pro

ComSourceInterfacesAttribute(Type, Type, Type)

Inicializuje novou instanci ComSourceInterfacesAttribute třídy s typy, které se mají použít jako zdrojová rozhraní.

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)

Parametry

sourceInterface1
Type

Výchozí Type zdrojové rozhraní.

sourceInterface2
Type

Zdrojové Type rozhraní.

sourceInterface3
Type

Zdrojové Type rozhraní.

Poznámky

Pomocí tohoto konstruktoru můžete klientům MODELU COM vystavit tři zdrojová rozhraní událostí.

Platí pro

ComSourceInterfacesAttribute(Type, Type, Type, Type)

Inicializuje novou instanci ComSourceInterfacesAttribute třídy s typy, které se mají použít jako zdrojová rozhraní.

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)

Parametry

sourceInterface1
Type

Výchozí Type zdrojové rozhraní.

sourceInterface2
Type

Zdrojové Type rozhraní.

sourceInterface3
Type

Zdrojové Type rozhraní.

sourceInterface4
Type

Zdrojové Type rozhraní.

Poznámky

Pomocí tohoto konstruktoru můžete klientům modelu COM vystavit čtyři rozhraní zdroje událostí.

Platí pro