DsmlResponseDocument.CopyTo(DirectoryResponse[], Int32) Yöntem

Tanım

yöntemi, CopyTo(DirectoryResponse[], Int32) hedef dizinin belirtilen dizininden başlayarak koleksiyonun tamamını tek boyutlu bir diziye kopyalar.

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

Parametreler

value
DirectoryResponse[]

Nesneden DsmlRequestDocument kopyalanan öğelerin hedefi olan tek boyutlu bir dizi.

i
Int32

Kopyalamanın value başladığı sıfır tabanlı dizin.

Özel durumlar

value null başvurudur (Visual Basic Nothing).

i, sıfırdan küçüktür.

value çok boyutludur.

-veya-

Kaynaktaki DsmlRequestDocument öğelerin sayısı , i'den hedefin valuesonuna kadar olan kullanılabilir alandan büyüktür.

Kaynağın DsmlRequestDocument türü, hedef valuetürüne otomatik olarak atılamaz.

Şunlara uygulanır