語言

ProxyWebPartConnectionCollection.Add(WebPartConnection) 方法

定義

新增一個 WebPartConnection 物件到集合中。

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 A,加入收藏。

傳回

一個整數值,表示 被 WebPartConnection 插入集合的位置。

備註

使用此 Add 方法將新 WebPartConnection 物件加入現有 ProxyWebPartConnectionCollection 收藏。

適用於

另請參閱