語言

WebPartConnectionCollection.Add(WebPartConnection) 方法

定義

新增一個成員到收藏中 WebPartConnectionCollection 。

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

參數

value
WebPartConnection

WebPartConnection將加入收藏。

傳回

一個整數表示將連結加入集合的索引。

備註

使用此方法將物件WebPartConnection加入WebPartConnectionCollection集合。 物件會被加入集合的末尾。 要在集合中特定位置新增物件,請使用該 Insert 方法。

適用於