ConnectionConsumerAttribute.ConnectionPointType 属性

定义

获取使用者连接点的连接点类型。

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

属性值

指示 Type 连接点的类型。

例外

使用了无效的连接点类型(未派生自 ConsumerConnectionPoint 类的连接点类型)。

注解

此属性返回 Type 使用者连接点。 必须在TypeConsumerConnectionPoint回调方法上使用元数据元素声明connectionPointType参数ConnectionConsumerAttribute时,声明的类型实例用于创建连接点而不是标准ConsumerConnectionPoint类。

适用于