ConnectionProviderAttribute.ConnectionPointType 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取与提供程序控件关联的连接点的类型。
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类。