DataRowCollection.CopyTo 메서드

정의

컬렉션의 모든 DataRow 개체를 지정된 배열의 지정된 대상 배열 인덱스에서 시작하는 위치에 복사합니다.

오버로드

CopyTo(Array, Int32)

컬렉션의 모든 DataRow 개체를 지정된 배열의 지정된 대상 배열 인덱스에서 시작하는 위치에 복사합니다.

CopyTo(DataRow[], Int32)

컬렉션의 모든 DataRow 개체를 지정된 배열의 지정된 대상 배열 인덱스에서 시작하는 위치에 복사합니다.

CopyTo(Array, Int32)

Source:
DataRowCollection.cs
Source:
DataRowCollection.cs
Source:
DataRowCollection.cs

컬렉션의 모든 DataRow 개체를 지정된 배열의 지정된 대상 배열 인덱스에서 시작하는 위치에 복사합니다.

public:
 override void CopyTo(Array ^ ar, int index);
public override void CopyTo (Array ar, int index);
override this.CopyTo : Array * int -> unit
Public Overrides Sub CopyTo (ar As Array, index As Integer)

매개 변수

ar
Array

DataRowCollection에서 복사한 요소의 대상인 1차원 배열입니다. 배열에는 0부터 시작하는 인덱스가 있어야 합니다.

index
Int32

복사를 시작할 배열의 인덱스(0부터 시작)입니다.

적용 대상

CopyTo(DataRow[], Int32)

Source:
DataRowCollection.cs
Source:
DataRowCollection.cs
Source:
DataRowCollection.cs

컬렉션의 모든 DataRow 개체를 지정된 배열의 지정된 대상 배열 인덱스에서 시작하는 위치에 복사합니다.

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

매개 변수

array
DataRow[]

DataRowCollection에서 복사한 요소의 대상인 1차원 배열입니다. 배열에는 0부터 시작하는 인덱스가 있어야 합니다.

index
Int32

복사를 시작할 배열의 인덱스(0부터 시작)입니다.

적용 대상