ComEventInterfaceAttribute(Type, Type) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.