ComEventInterfaceAttribute(Type, Type) Construtor
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Inicializa uma nova instância da ComEventInterfaceAttribute classe com a interface de origem e a classe fornecedora de eventos.
public:
ComEventInterfaceAttribute(Type ^ SourceInterface, Type ^ EventProvider);
public ComEventInterfaceAttribute(Type SourceInterface, Type EventProvider);
new System.Runtime.InteropServices.ComEventInterfaceAttribute : Type * Type -> System.Runtime.InteropServices.ComEventInterfaceAttribute
Public Sub New (SourceInterface As Type, EventProvider As Type)
Parâmetros
- SourceInterface
- Type
A Type que contém a interface fonte original da biblioteca de tipos. O COM utiliza esta interface para ligar de volta à classe gerida.