ConnectionInterfaceCollection 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 ConnectionInterfaceCollection 类的新实例。
重载
| 名称 | 说明 |
|---|---|
| ConnectionInterfaceCollection() |
初始化 ConnectionInterfaceCollection 类的新实例。 |
| ConnectionInterfaceCollection(ICollection) |
使用指定的集合初始化类的新实例 ConnectionInterfaceCollection 。 |
| ConnectionInterfaceCollection(ConnectionInterfaceCollection, ICollection) |
通过组合两个指定的集合来初始化类的新实例 ConnectionInterfaceCollection 。 |
ConnectionInterfaceCollection()
初始化 ConnectionInterfaceCollection 类的新实例。
public:
ConnectionInterfaceCollection();
public ConnectionInterfaceCollection();
Public Sub New ()
适用于
ConnectionInterfaceCollection(ICollection)
使用指定的集合初始化类的新实例 ConnectionInterfaceCollection 。
public:
ConnectionInterfaceCollection(System::Collections::ICollection ^ connectionInterfaces);
public ConnectionInterfaceCollection(System.Collections.ICollection connectionInterfaces);
new System.Web.UI.WebControls.WebParts.ConnectionInterfaceCollection : System.Collections.ICollection -> System.Web.UI.WebControls.WebParts.ConnectionInterfaceCollection
Public Sub New (connectionInterfaces As ICollection)
参数
- connectionInterfaces
- ICollection
要转换为 . ConnectionInterfaceCollection. 的对象集合。
例外
无法将对象 connectionInterfaces 添加到 ConnectionInterfaceCollection 集合中。
适用于
ConnectionInterfaceCollection(ConnectionInterfaceCollection, ICollection)
通过组合两个指定的集合来初始化类的新实例 ConnectionInterfaceCollection 。
public:
ConnectionInterfaceCollection(System::Web::UI::WebControls::WebParts::ConnectionInterfaceCollection ^ existingConnectionInterfaces, System::Collections::ICollection ^ connectionInterfaces);
public ConnectionInterfaceCollection(System.Web.UI.WebControls.WebParts.ConnectionInterfaceCollection existingConnectionInterfaces, System.Collections.ICollection connectionInterfaces);
new System.Web.UI.WebControls.WebParts.ConnectionInterfaceCollection : System.Web.UI.WebControls.WebParts.ConnectionInterfaceCollection * System.Collections.ICollection -> System.Web.UI.WebControls.WebParts.ConnectionInterfaceCollection
Public Sub New (existingConnectionInterfaces As ConnectionInterfaceCollection, connectionInterfaces As ICollection)
参数
- existingConnectionInterfaces
- ConnectionInterfaceCollection
要与对象组合的 ConnectionInterfaceCollection AconnectionInterfaces。
- connectionInterfaces
- ICollection
要与对象组合的 existingConnectionInterfaces 集合。
例外
无法将对象 connectionInterfaces 添加到 ConnectionInterfaceCollection 集合中。