CookieCollection.CopyTo 메서드

정의

CookieCollection 요소를 지정된 대상 배열에 복사합니다.

오버로드

Name Description
CopyTo(Array, Int32)

특정 인덱스에서 시작하여 지정된 배열에 대한 요소를 CookieCollection 복사합니다.

CopyTo(Cookie[], Int32)

대상 배열의 지정된 인덱스에서 시작하는 배열에 이 CookieCollectionCookie 요소를 복사합니다.

CopyTo(Array, Int32)

Source:
CookieCollection.cs
Source:
CookieCollection.cs
Source:
CookieCollection.cs
Source:
CookieCollection.cs
Source:
CookieCollection.cs

특정 인덱스에서 시작하여 지정된 배열에 대한 요소를 CookieCollection 복사합니다.

public:
 virtual void CopyTo(Array ^ array, int index);
public void CopyTo(Array array, int index);
abstract member CopyTo : Array * int -> unit
override this.CopyTo : Array * int -> unit
Public Sub CopyTo (array As Array, index As Integer)

매개 변수

array
Array

복사할 대상 배열 CookieCollection 입니다.

index
Int32

복사가 시작되는 대상 배열의 인덱스(0부터 시작)입니다.

구현

예외

arraynull입니다.

index가 0보다 작습니다.

array 가 다차원입니다.

-또는-

CookieCollection 요소의 개수는 대상index에서 array 끝까지 사용 가능한 공간보다 큽합니다.

CookieCollection 요소의 요소는 대상 array의 형식으로 자동으로 캐스팅할 수 없습니다.

설명

매개 변수는 Arrayarray 0부터 시작하는 인덱싱이 있는 1차원이어야 합니다.

적용 대상

CopyTo(Cookie[], Int32)

Source:
CookieCollection.cs
Source:
CookieCollection.cs
Source:
CookieCollection.cs
Source:
CookieCollection.cs
Source:
CookieCollection.cs

대상 배열의 지정된 인덱스에서 시작하는 배열에 이 CookieCollectionCookie 요소를 복사합니다.

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

매개 변수

array
Cookie[]

복사할 대상 Cookie 배열 CookieCollection 입니다.

index
Int32

복사가 시작되는 대상 배열의 인덱스(0부터 시작)입니다.

구현

예외

arraynull입니다.

index가 0보다 작습니다.

array 가 다차원입니다.

-또는-

CookieCollection 요소의 개수는 대상index에서 array 끝까지 사용 가능한 공간보다 큽합니다.

CookieCollection 요소의 요소는 대상 array의 형식으로 자동으로 캐스팅할 수 없습니다.

설명

매개 변수는 array 0부터 시작하는 인덱싱이 있는 1차원이어야 합니다.

적용 대상