ComSourceInterfacesAttribute Konstruktorok
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
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(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)
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)
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
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)
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
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)
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
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)
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
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.