PropertyCollection.CopyTo(PropertyValueCollection[], Int32) Metod

Definition

Kopierar alla objekt i den här samlingen till en matris med början vid det angivna indexet i målmatrisen.

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

Parametrar

array
PropertyValueCollection[]

Matrisen med PropertyValueCollection objekt som tar emot elementen i den här samlingen.

index
Int32

Det nollbaserade indexet där array den här metoden börjar kopiera den här samlingen.

Undantag

Ett fel uppstod under anropet till det underliggande gränssnittet.

Gäller för