ProfileInfoCollection.CopyTo Metod

Definition

Kopierar ProfileInfoCollection till en endimensionell matris.

Överlagringar

Name Description
CopyTo(Array, Int32)

Kopierar ProfileInfoCollection till en endimensionell matris.

CopyTo(ProfileInfo[], Int32)

Kopierar ProfileInfoCollection till en endimensionell matris av typen ProfileInfo.

CopyTo(Array, Int32)

Kopierar ProfileInfoCollection till en endimensionell matris.

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
Public Sub CopyTo (array As Array, index As Integer)

Parametrar

array
Array

En endimensionell Array som är målet för de element som kopieras från ProfileInfoCollection. Array Måste ha nollbaserad indexering.

index
Int32

Det nollbaserade indexet i matrisen där kopieringen börjar.

Implementeringar

Kommentarer

Den här metoden använder ArrayList.CopyTo för att kopiera ProfileInfo objekt till den angivna Array.

Se även

Gäller för

CopyTo(ProfileInfo[], Int32)

Kopierar ProfileInfoCollection till en endimensionell matris av typen 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)

Parametrar

array
ProfileInfo[]

En endimensionell matris av typen ProfileInfo som är målet för de element som kopieras från ProfileInfoCollection. Matrisen måste ha nollbaserad indexering.

index
Int32

Det nollbaserade indexet array där kopieringen börjar.

Kommentarer

Den här metoden använder ArrayList.CopyTo för att kopiera ProfileInfo objekt till den angivna matrisen.

Se även

Gäller för