ConnectionInterfaceCollection Constructor (ConnectionInterfaceCollection, ICollection)
.NET Framework (current version)
Initializes a new instance of the ConnectionInterfaceCollection class by combining the two specified collections.
Assembly: System.Web (in System.Web.dll)
Public Sub New ( existingConnectionInterfaces As ConnectionInterfaceCollection, connectionInterfaces As ICollection )
Parameters
- existingConnectionInterfaces
-
Type:
System.Web.UI.WebControls.WebParts.ConnectionInterfaceCollection
A ConnectionInterfaceCollection to combine with the connectionInterfaces object.
- connectionInterfaces
-
Type:
System.Collections.ICollection
A collection to combine with the existingConnectionInterfaces object.
| Exception | Condition |
|---|---|
| ArgumentException | An object in connectionInterfaces cannot be added to a ConnectionInterfaceCollection collection. |
.NET Framework
Available since 2.0
Available since 2.0
Show: