语言

TypeElementCollection.CopyTo(TypeElement[], Int32) 方法

定义

从集合中的元素复制到数组,从数组的指定索引处开始。

public:
 void CopyTo(cli::array <System::Web::Services::Configuration::TypeElement ^> ^ array, int index);
public void CopyTo(System.Web.Services.Configuration.TypeElement[] array, int index);
override this.CopyTo : System.Web.Services.Configuration.TypeElement[] * int -> unit
Public Sub CopyTo (array As TypeElement(), index As Integer)

参数

array
TypeElement[]

要向其复制集合内容的类型的 TypeElement 数组。

index
Int32

从零开始复制的索引 array 。

适用于