语言

WebPartConnectionCollection.Insert(Int32, WebPartConnection) 方法

定义

将指定的 WebPartConnection 对象添加到集合中的指定索引位置。

public:
 void Insert(int index, System::Web::UI::WebControls::WebParts::WebPartConnection ^ value);
public void Insert(int index, System.Web.UI.WebControls.WebParts.WebPartConnection value);
member this.Insert : int * System.Web.UI.WebControls.WebParts.WebPartConnection -> unit
Public Sub Insert (index As Integer, value As WebPartConnection)

参数

index
Int32

要插入的从零开始的 WebPartConnection索引位置。

value
WebPartConnection

要 WebPartConnection 插入的。

注解

使用此方法将指定 WebPartConnection 对象插入集合中的指定索引处。 或者,只需使用WebPartConnection该方法将对象追加Add到集合末尾。

适用于