Share via


ComEventInterfaceAttribute.SourceInterface 属性

定义

从类型库获取原始源接口。

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

属性值

一个包含源接口的 Type

注解

源接口至少有一个事件成员,通常每个源接口方法都有一个事件成员。 COM 使用此接口回调到托管类。

适用于