WebPartConnectionCollection.Insert(Int32, WebPartConnection) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将指定的 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到集合末尾。