แก้ไข

แชร์ผ่าน


ComEventInterfaceAttribute.EventProvider Property

Definition

Gets the class that implements the methods of the event interface.

public:
 property Type ^ EventProvider { Type ^ get(); };
public Type EventProvider { get; }
member this.EventProvider : Type
Public ReadOnly Property EventProvider As Type

Property Value

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

Remarks

This value is set to the type of the event provider class generated by the Tlbimp.exe (Type Library Importer). Tlbimp.exe appends the source interface name with EventProvider. For example, IMyInterface becomes IMyInterfaceEventProvider.

Applies to