แก้ไข

แชร์ผ่าน


WebPartConnectionCollection.CopyTo(WebPartConnection[], Int32) Method

Definition

Copies the elements of the WebPartConnectionCollection collection to an array, starting at a particular array index.

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)

Parameters

array
WebPartConnection[]

The one-dimensional array into which the elements from the WebPartConnectionCollection are copied. The array must have zero-based indexing.

index
Int32

The zero-based index in array at which copying begins.

Exceptions

array is null.

index is less than zero.

Remarks

The specified array must be of a compatible type. The elements are copied to the Array in the same order in which the enumerator iterates through the WebPartConnectionCollection collection.

Applies to