Επεξεργασία

Κοινή χρήση μέσω


WebPartTransformerCollection.CopyTo(WebPartTransformer[], Int32) Method

Definition

Copies the collection to an array of WebPartTransformer objects.

public:
 void CopyTo(cli::array <System::Web::UI::WebControls::WebParts::WebPartTransformer ^> ^ array, int index);
public void CopyTo (System.Web.UI.WebControls.WebParts.WebPartTransformer[] array, int index);
member this.CopyTo : System.Web.UI.WebControls.WebParts.WebPartTransformer[] * int -> unit
Public Sub CopyTo (array As WebPartTransformer(), index As Integer)

Parameters

array
WebPartTransformer[]

An array of WebPartTransformer objects to contain the copied collection.

index
Int32

The starting point in the array at which to place the collection contents.

Remarks

The CopyTo method is useful when you want to assemble a custom array that can contain all the WebPartTransformer objects in the WebPartTransformerCollection collection, a subset of those objects, or a superset of those objects.

Applies to