DataRowCollection.CopyTo 메서드

정의

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

오버로드

Name Description
CopyTo(Array, Int32)

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

CopyTo(DataRow[], Int32)

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

CopyTo(Array, Int32)

Source:
DataRowCollection.cs
Source:
DataRowCollection.cs
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
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부터 시작)입니다.

적용 대상