ComSourceInterfacesAttribute Construtores

Definição

Inicializa uma nova instância da ComSourceInterfacesAttribute classe.

Sobrecargas

Name Description
ComSourceInterfacesAttribute(String)

Inicializa uma nova instância da ComSourceInterfacesAttribute classe com o nome da interface de origem de eventos.

ComSourceInterfacesAttribute(Type)

Inicializa uma nova instância da ComSourceInterfacesAttribute classe com o tipo a usar como interface de origem.

ComSourceInterfacesAttribute(Type, Type)

Inicializa uma nova instância da ComSourceInterfacesAttribute classe com os tipos a usar como interfaces de origem.

ComSourceInterfacesAttribute(Type, Type, Type)

Inicializa uma nova instância da ComSourceInterfacesAttribute classe com os tipos a usar como interfaces de origem.

ComSourceInterfacesAttribute(Type, Type, Type, Type)

Inicializa uma nova instância da ComSourceInterfacesAttribute classe com os tipos a usar como interfaces de origem.

ComSourceInterfacesAttribute(String)

Inicializa uma nova instância da ComSourceInterfacesAttribute classe com o nome da interface de origem de eventos.

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)

Parâmetros

sourceInterfaces
String

Uma lista nula delimitada de nomes totalmente qualificados das interfaces de origem de eventos.

Observações

Use este construtor para expor mais de quatro interfaces de origem de eventos a clientes COM.

Aplica-se a

ComSourceInterfacesAttribute(Type)

Inicializa uma nova instância da ComSourceInterfacesAttribute classe com o tipo a usar como interface de origem.

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

Parâmetros

sourceInterface
Type

A Type da interface de origem.

Observações

Use este construtor para expor uma única interface de origem de evento aos clientes COM.

Aplica-se a

ComSourceInterfacesAttribute(Type, Type)

Inicializa uma nova instância da ComSourceInterfacesAttribute classe com os tipos a usar como interfaces de origem.

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)

Parâmetros

sourceInterface1
Type

O Type da interface de origem padrão.

sourceInterface2
Type

A Type de uma interface de origem.

Observações

Use este construtor para expor duas interfaces de origem de eventos a clientes COM.

Aplica-se a

ComSourceInterfacesAttribute(Type, Type, Type)

Inicializa uma nova instância da ComSourceInterfacesAttribute classe com os tipos a usar como interfaces de origem.

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)

Parâmetros

sourceInterface1
Type

O Type da interface de origem padrão.

sourceInterface2
Type

A Type de uma interface de origem.

sourceInterface3
Type

A Type de uma interface de origem.

Observações

Use este construtor para expor três interfaces de origem de eventos a clientes COM.

Aplica-se a

ComSourceInterfacesAttribute(Type, Type, Type, Type)

Inicializa uma nova instância da ComSourceInterfacesAttribute classe com os tipos a usar como interfaces de origem.

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)

Parâmetros

sourceInterface1
Type

O Type da interface de origem padrão.

sourceInterface2
Type

A Type de uma interface de origem.

sourceInterface3
Type

A Type de uma interface de origem.

sourceInterface4
Type

A Type de uma interface de origem.

Observações

Use este construtor para expor quatro interfaces de origem de eventos para clientes COM.

Aplica-se a