Szerkesztés

Megosztás a következőn keresztül:


TransformerTypeCollection.CopyTo(Type[], Int32) Method

Definition

Copies the collection to an array of WebPartTransformer objects.

public:
 void CopyTo(cli::array <Type ^> ^ array, int index);
public void CopyTo (Type[] array, int index);
member this.CopyTo : Type[] * int -> unit
Public Sub CopyTo (array As Type(), index As Integer)

Parameters

array
Type[]

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 TransformerTypeCollection collection, a subset of those objects, or a superset of those objects.

Applies to