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:
ConnectionInterfaceCollection(
ConnectionInterfaceCollection^ existingConnectionInterfaces,
ICollection^ connectionInterfaces
)
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: