Uređivanje

Dijeli putem


ComEventInterfaceAttribute(Type, Type) Constructor

Definition

Initializes a new instance of the ComEventInterfaceAttribute class with the source interface and event provider class.

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)

Parameters

SourceInterface
Type

A Type that contains the original source interface from the type library. COM uses this interface to call back to the managed class.

EventProvider
Type

A Type that contains the class that implements the methods of the event interface.

Applies to