ComSourceInterfacesAttribute Konstruktorok

Definíció

Inicializálja a ComSourceInterfacesAttribute osztály új példányát.

Túlterhelések

Name Description
ComSourceInterfacesAttribute(String)

Inicializálja az ComSourceInterfacesAttribute osztály új példányát az eseményforrás felületének nevével.

ComSourceInterfacesAttribute(Type)

Inicializálja az ComSourceInterfacesAttribute osztály új példányát a forrásfelületként használni kívánt típussal.

ComSourceInterfacesAttribute(Type, Type)

Inicializálja az ComSourceInterfacesAttribute osztály új példányát a forrásfelületként használni kívánt típusokkal.

ComSourceInterfacesAttribute(Type, Type, Type)

Inicializálja az ComSourceInterfacesAttribute osztály új példányát a forrásfelületként használni kívánt típusokkal.

ComSourceInterfacesAttribute(Type, Type, Type, Type)

Inicializálja az ComSourceInterfacesAttribute osztály új példányát a forrásfelületként használni kívánt típusokkal.

ComSourceInterfacesAttribute(String)

Forrás:
ComSourceInterfacesAttribute.cs
Forrás:
ComSourceInterfacesAttribute.cs
Forrás:
ComSourceInterfacesAttribute.cs
Forrás:
ComSourceInterfacesAttribute.cs
Forrás:
ComSourceInterfacesAttribute.cs

Inicializálja az ComSourceInterfacesAttribute osztály új példányát az eseményforrás felületének nevével.

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)

Paraméterek

sourceInterfaces
String

A teljes körűen minősített eseményforrás-adapternevek null-tagolt listája.

Megjegyzések

Ezzel a konstruktor használatával négynél több eseményforrás-felületet tehet elérhetővé a COM-ügyfelek számára.

A következőre érvényes:

ComSourceInterfacesAttribute(Type)

Forrás:
ComSourceInterfacesAttribute.cs
Forrás:
ComSourceInterfacesAttribute.cs
Forrás:
ComSourceInterfacesAttribute.cs
Forrás:
ComSourceInterfacesAttribute.cs
Forrás:
ComSourceInterfacesAttribute.cs

Inicializálja az ComSourceInterfacesAttribute osztály új példányát a forrásfelületként használni kívánt típussal.

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

Paraméterek

sourceInterface
Type

A Type forrásfelület.

Megjegyzések

Ezzel a konstruktorsal egyetlen eseményforrás-felületet tehet elérhetővé a COM-ügyfelek számára.

A következőre érvényes:

ComSourceInterfacesAttribute(Type, Type)

Forrás:
ComSourceInterfacesAttribute.cs
Forrás:
ComSourceInterfacesAttribute.cs
Forrás:
ComSourceInterfacesAttribute.cs
Forrás:
ComSourceInterfacesAttribute.cs
Forrás:
ComSourceInterfacesAttribute.cs

Inicializálja az ComSourceInterfacesAttribute osztály új példányát a forrásfelületként használni kívánt típusokkal.

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)

Paraméterek

sourceInterface1
Type

Az Type alapértelmezett forrásfelület.

sourceInterface2
Type

Egy Type forrásfelület.

Megjegyzések

Ezzel a konstruktor használatával két eseményforrás-felületet tehet elérhetővé a COM-ügyfelek számára.

A következőre érvényes:

ComSourceInterfacesAttribute(Type, Type, Type)

Forrás:
ComSourceInterfacesAttribute.cs
Forrás:
ComSourceInterfacesAttribute.cs
Forrás:
ComSourceInterfacesAttribute.cs
Forrás:
ComSourceInterfacesAttribute.cs
Forrás:
ComSourceInterfacesAttribute.cs

Inicializálja az ComSourceInterfacesAttribute osztály új példányát a forrásfelületként használni kívánt típusokkal.

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)

Paraméterek

sourceInterface1
Type

Az Type alapértelmezett forrásfelület.

sourceInterface2
Type

Egy Type forrásfelület.

sourceInterface3
Type

Egy Type forrásfelület.

Megjegyzések

Ezzel a konstruktor használatával három eseményforrás-felületet tehet elérhetővé a COM-ügyfelek számára.

A következőre érvényes:

ComSourceInterfacesAttribute(Type, Type, Type, Type)

Forrás:
ComSourceInterfacesAttribute.cs
Forrás:
ComSourceInterfacesAttribute.cs
Forrás:
ComSourceInterfacesAttribute.cs
Forrás:
ComSourceInterfacesAttribute.cs
Forrás:
ComSourceInterfacesAttribute.cs

Inicializálja az ComSourceInterfacesAttribute osztály új példányát a forrásfelületként használni kívánt típusokkal.

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)

Paraméterek

sourceInterface1
Type

Az Type alapértelmezett forrásfelület.

sourceInterface2
Type

Egy Type forrásfelület.

sourceInterface3
Type

Egy Type forrásfelület.

sourceInterface4
Type

Egy Type forrásfelület.

Megjegyzések

Ezzel a konstruktor használatával négy eseményforrás-felületet tehet elérhetővé a COM-ügyfelek számára.

A következőre érvényes: