ConnectionInterfaceCollection Constructor (ConnectionInterfaceCollection^, ICollection^)

 

Initializes a new instance of the ConnectionInterfaceCollection class by combining the two specified collections.

Namespace:   System.Web.UI.WebControls.WebParts
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
Return to top
Show: