共用方式為


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

傳回

Int32

整數值,表示 WebPartConnection 在集合中的插入位置。

備註

Add 可以使用方法,將新 WebPartConnection 的物件加入至現有的 ProxyWebPartConnectionCollection 集合。

適用於

另請參閱