WebPartConnectionCollection.CopyTo(WebPartConnection[], Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將集合的 WebPartConnectionCollection 元素複製到陣列,從特定的陣列索引開始。
public:
void CopyTo(cli::array <System::Web::UI::WebControls::WebParts::WebPartConnection ^> ^ array, int index);
public void CopyTo(System.Web.UI.WebControls.WebParts.WebPartConnection[] array, int index);
member this.CopyTo : System.Web.UI.WebControls.WebParts.WebPartConnection[] * int -> unit
Public Sub CopyTo (array As WebPartConnection(), index As Integer)
參數
- array
- WebPartConnection[]
將元素 WebPartConnectionCollection 複製到的一維陣列。 陣列必須具有零基索引。
- index
- Int32
複製開始的零基索引 array 。
例外狀況
array 是 null。
index 小於零。
備註
指定的陣列必須是相容型態。 元素會依列舉器遍歷Array集合的順序複製到 。WebPartConnectionCollection