Share via


ServiceCollection.CopyTo(ServiceDescriptor[], Int32) 메서드

정의

특정 ICollection<T> 인덱스부터 시작하여 Array의 요소를 Array에 복사합니다.

public:
 virtual void CopyTo(cli::array <Microsoft::Extensions::DependencyInjection::ServiceDescriptor ^> ^ array, int arrayIndex);
public void CopyTo (Microsoft.Extensions.DependencyInjection.ServiceDescriptor[] array, int arrayIndex);
abstract member CopyTo : Microsoft.Extensions.DependencyInjection.ServiceDescriptor[] * int -> unit
override this.CopyTo : Microsoft.Extensions.DependencyInjection.ServiceDescriptor[] * int -> unit
Public Sub CopyTo (array As ServiceDescriptor(), arrayIndex As Integer)

매개 변수

array
ServiceDescriptor[]

Array에서 복사한 요소의 대상인 일차원 ICollection<T>입니다. Array에는 0부터 시작하는 인덱스가 있어야 합니다.

arrayIndex
Int32

array에서 복사가 시작되는 0부터 시작하는 인덱스입니다.

구현

적용 대상