WebPartTransformerCollection.CopyTo(WebPartTransformer[], Int32) 方法
定义
将集合复制到 WebPartTransformer 对象的数组。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)
参数
- array
- WebPartTransformer[]
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.
注解
CopyTo如果要汇编一个自定义数组,该数组可以包含 WebPartTransformer 集合中的所有对象 WebPartTransformerCollection 、这些对象的子集或这些对象的超集,则方法非常有用。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.