ConnectionProviderAttribute.ConnectionPointType 属性

定义

获取与提供程序控件关联的连接点的类型。

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

属性值

指示 Type 连接点的类型。

例外

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

注解

此属性返回 Type 提供程序连接点。 必须在TypeProviderConnectionPoint回调方法上使用元数据元素声明connectionPointType参数ConnectionProviderAttribute时,声明的类型实例用于创建连接点而不是标准ProviderConnectionPoint类。

适用于