ComSourceInterfacesAttribute Construtores

Definição

Inicializa uma nova instância da classe ComSourceInterfacesAttribute.

Sobrecargas

ComSourceInterfacesAttribute(String)

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

ComSourceInterfacesAttribute(Type)

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

ComSourceInterfacesAttribute(Type, Type)

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

ComSourceInterfacesAttribute(Type, Type, Type)

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

ComSourceInterfacesAttribute(Type, Type, Type, Type)

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

ComSourceInterfacesAttribute(String)

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

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 delimitada por valores nulos de nomes totalmente qualificados da interface de origem do evento.

Comentários

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

Aplica-se a

ComSourceInterfacesAttribute(Type)

Inicializa uma nova instância da classe ComSourceInterfacesAttribute com o tipo a ser usado 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

O Type da interface de origem.

Comentários

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

Aplica-se a

ComSourceInterfacesAttribute(Type, Type)

Inicializa uma nova instância da classe ComSourceInterfacesAttribute com os tipos a serem usados 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

O Type da interface de origem.

Comentários

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

Aplica-se a

ComSourceInterfacesAttribute(Type, Type, Type)

Inicializa uma nova instância da classe ComSourceInterfacesAttribute com os tipos a serem usados 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

O Type da interface de origem.

sourceInterface3
Type

O Type da interface de origem.

Comentários

Use esse construtor para expor três interfaces de origem do evento para clientes COM.

Aplica-se a

ComSourceInterfacesAttribute(Type, Type, Type, Type)

Inicializa uma nova instância da classe ComSourceInterfacesAttribute com os tipos a serem usados 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

O Type da interface de origem.

sourceInterface3
Type

O Type da interface de origem.

sourceInterface4
Type

O Type da interface de origem.

Comentários

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

Aplica-se a