语言

ConsumerConnectionPointCollection 构造函数

定义

初始化 ConsumerConnectionPointCollection 类的新实例。

重载

名称 说明
ConsumerConnectionPointCollection()

初始化 ConsumerConnectionPointCollection 类的新实例。

ConsumerConnectionPointCollection(ICollection)

使用指定的连接点集合初始化类的新实例 ConsumerConnectionPointCollection 。

ConsumerConnectionPointCollection()

初始化 ConsumerConnectionPointCollection 类的新实例。

public:
 ConsumerConnectionPointCollection();
public ConsumerConnectionPointCollection();
Public Sub New ()

注解

此构造函数创建类的新实例 ConsumerConnectionPointCollection ,且集合中没有项。

适用于

ConsumerConnectionPointCollection(ICollection)

使用指定的连接点集合初始化类的新实例 ConsumerConnectionPointCollection 。

public:
 ConsumerConnectionPointCollection(System::Collections::ICollection ^ connectionPoints);
public ConsumerConnectionPointCollection(System.Collections.ICollection connectionPoints);
new System.Web.UI.WebControls.WebParts.ConsumerConnectionPointCollection : System.Collections.ICollection -> System.Web.UI.WebControls.WebParts.ConsumerConnectionPointCollection
Public Sub New (connectionPoints As ICollection)

参数

connectionPoints
ICollection

使用者连接点的集合。

例外

connectionPoints 是 null。

集合包含无效的连接点。

-或-

该集合包含具有重复 ID 的项。

注解

此构造函数创建类的新实例 ConsumerConnectionPointCollection ,并添加参数中包含的 connectionPoints 连接点。

适用于