ComSourceInterfacesAttribute Constructors
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Initialiseert een nieuw exemplaar van de ComSourceInterfacesAttribute klasse.
Overloads
| Name | Description |
|---|---|
| ComSourceInterfacesAttribute(String) |
Initialiseert een nieuw exemplaar van de ComSourceInterfacesAttribute klasse met de naam van de interface van de gebeurtenisbron. |
| ComSourceInterfacesAttribute(Type) |
Initialiseert een nieuw exemplaar van de ComSourceInterfacesAttribute klasse met het type dat moet worden gebruikt als broninterface. |
| ComSourceInterfacesAttribute(Type, Type) |
Initialiseert een nieuw exemplaar van de ComSourceInterfacesAttribute klasse met de typen die moeten worden gebruikt als broninterfaces. |
| ComSourceInterfacesAttribute(Type, Type, Type) |
Initialiseert een nieuw exemplaar van de |
| ComSourceInterfacesAttribute(Type, Type, Type, Type) |
Initialiseert een nieuw exemplaar van de ComSourceInterfacesAttribute klasse met de typen die moeten worden gebruikt als broninterfaces. |
ComSourceInterfacesAttribute(String)
Initialiseert een nieuw exemplaar van de ComSourceInterfacesAttribute klasse met de naam van de interface van de gebeurtenisbron.
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)
Parameters
- sourceInterfaces
- String
Een door null gescheiden lijst met volledig gekwalificeerde namen van gebeurtenisbroninterfaces.
Opmerkingen
Gebruik deze constructor om meer dan vier gebeurtenisbroninterfaces beschikbaar te maken voor COM-clients.
Van toepassing op
ComSourceInterfacesAttribute(Type)
Initialiseert een nieuw exemplaar van de ComSourceInterfacesAttribute klasse met het type dat moet worden gebruikt als broninterface.
public:
ComSourceInterfacesAttribute(Type ^ sourceInterface);
public ComSourceInterfacesAttribute(Type sourceInterface);
new System.Runtime.InteropServices.ComSourceInterfacesAttribute : Type -> System.Runtime.InteropServices.ComSourceInterfacesAttribute
Public Sub New (sourceInterface As Type)
Parameters
Opmerkingen
Gebruik deze constructor om één gebeurtenisbroninterface beschikbaar te maken voor COM-clients.
Van toepassing op
ComSourceInterfacesAttribute(Type, Type)
Initialiseert een nieuw exemplaar van de ComSourceInterfacesAttribute klasse met de typen die moeten worden gebruikt als broninterfaces.
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)
Parameters
Opmerkingen
Gebruik deze constructor om twee gebeurtenisbroninterfaces beschikbaar te maken voor COM-clients.
Van toepassing op
ComSourceInterfacesAttribute(Type, Type, Type)
Initialiseert een nieuw exemplaar van de ComSourceInterfacesAttribute klasse met de typen die moeten worden gebruikt als broninterfaces.
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)
Parameters
Opmerkingen
Gebruik deze constructor om drie gebeurtenisbroninterfaces beschikbaar te maken voor COM-clients.
Van toepassing op
ComSourceInterfacesAttribute(Type, Type, Type, Type)
Initialiseert een nieuw exemplaar van de ComSourceInterfacesAttribute klasse met de typen die moeten worden gebruikt als broninterfaces.
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)
Parameters
Opmerkingen
Gebruik deze constructor om vier gebeurtenisbroninterfaces beschikbaar te maken voor COM-clients.