WebPartConnectionCollection.Add(WebPartConnection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a member to the WebPartConnectionCollection collection.
public:
int Add(System::Web::UI::WebControls::WebParts::WebPartConnection ^ value);
public int Add (System.Web.UI.WebControls.WebParts.WebPartConnection value);
member this.Add : System.Web.UI.WebControls.WebParts.WebPartConnection -> int
Public Function Add (value As WebPartConnection) As Integer
Parameters
- value
- WebPartConnection
The WebPartConnection to be added to the collection.
Returns
An integer indicating the index where the connection will be added to the collection.
Remarks
Use this method to add a WebPartConnection object to the WebPartConnectionCollection collection. The object is added to the end of the collection. To add an object at a specific location in the collection, use the Insert method.