PropertyInformationCollection.CopyTo(PropertyInformation[], Int32) Metod

Definition

Kopierar hela PropertyInformationCollection samlingen till en kompatibel endimensionell Array, med början vid det angivna indexet för målmatrisen.

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

Parametrar

array
PropertyInformation[]

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

index
Int32

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

Undantag

array är null.

Egenskapen Lengtharray för är mindre än .Count + index

Gäller för