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

要添加到集合的 A WebPartConnection

返回

一个整数值,该值指示在集合中插入的位置 WebPartConnection

注解

Add使用该方法将新WebPartConnection对象添加到现有ProxyWebPartConnectionCollection集合。

适用于

另请参阅