ProfileInfoCollection.CopyTo ProfileInfoCollection.CopyTo ProfileInfoCollection.CopyTo ProfileInfoCollection.CopyTo Method

定义

ProfileInfoCollection 复制到一个一维数组。Copies the ProfileInfoCollection to a one-dimensional array.

重载

CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32)

ProfileInfoCollection 复制到一个一维数组。Copies the ProfileInfoCollection to a one-dimensional array.

CopyTo(ProfileInfo[], Int32) CopyTo(ProfileInfo[], Int32) CopyTo(ProfileInfo[], Int32) CopyTo(ProfileInfo[], Int32)

ProfileInfoCollection 复制到一个 ProfileInfo 类型的一维数组。Copies the ProfileInfoCollection to a one-dimensional array of type ProfileInfo.

CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32)

ProfileInfoCollection 复制到一个一维数组。Copies the ProfileInfoCollection to a one-dimensional array.

public:
 virtual void CopyTo(Array ^ array, int index);
public void CopyTo (Array array, int index);
abstract member CopyTo : Array * int -> unit
override this.CopyTo : Array * int -> unit

参数

array
Array Array Array Array

一个一维 Array,它是从 ProfileInfoCollection 复制的元素的目标。A one-dimensional Array that is the destination of the elements copied from the ProfileInfoCollection. Array 必须具有从零开始的索引。The Array must have zero-based indexing.

index
Int32 Int32 Int32 Int32

数组中从零开始的索引,在此处开始复制。The zero-based index in array at which copying begins.

实现

注解

此方法使用ArrayList.CopyTo将对象ProfileInfo复制到指定Array的。This method uses ArrayList.CopyTo to copy ProfileInfo objects to the specified Array.

另请参阅

CopyTo(ProfileInfo[], Int32) CopyTo(ProfileInfo[], Int32) CopyTo(ProfileInfo[], Int32) CopyTo(ProfileInfo[], Int32)

ProfileInfoCollection 复制到一个 ProfileInfo 类型的一维数组。Copies the ProfileInfoCollection to a one-dimensional array of type ProfileInfo.

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

参数

array
ProfileInfo[]

类型 ProfileInfo 的一维数组,它是从 ProfileInfoCollection 复制的元素的目标集合。A one-dimensional array of type ProfileInfo that is the destination of the elements copied from the ProfileInfoCollection. 该数组的索引必须从零开始。The array must have zero-based indexing.

index
Int32 Int32 Int32 Int32

array 中从零开始的索引,在此处开始复制。The zero-based index in the array at which copying begins.

注解

此方法使用ArrayList.CopyTo将对象ProfileInfo复制到指定的数组。This method uses ArrayList.CopyTo to copy ProfileInfo objects to the specified array.

另请参阅

适用于