ConnectionInterfaceCollection 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 ConnectionInterfaceCollection 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| 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
A ConnectionInterfaceCollection 與該物體結合 connectionInterfaces 。
- connectionInterfaces
- ICollection
一個可以與 existingConnectionInterfaces 物品結合的收藏。
例外狀況
物件 connectionInterfaces 無法被 ConnectionInterfaceCollection 加入集合。