SearchResultAttributeCollection.CopyTo(DirectoryAttribute[], Int32) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
CopyTo(DirectoryAttribute[], Int32) 메서드는 대상 배열의 지정된 인덱스에서 시작하여 1차원 배열에 전체 컬렉션을 복사합니다.
public:
void CopyTo(cli::array <System::DirectoryServices::Protocols::DirectoryAttribute ^> ^ array, int index);
public void CopyTo (System.DirectoryServices.Protocols.DirectoryAttribute[] array, int index);
override this.CopyTo : System.DirectoryServices.Protocols.DirectoryAttribute[] * int -> unit
Public Sub CopyTo (array As DirectoryAttribute(), index As Integer)
매개 변수
- array
- DirectoryAttribute[]
SearchResultAttributeCollection 개체에서 복사한 요소의 대상인 1차원 배열입니다.
- index
- Int32
복사가 시작되는 array의 인덱스(0부터 시작)입니다.
예외
array이 null 참조(Visual Basic의 경우 Nothing)인 경우
index가 0보다 작은 경우
array가 다차원 배열인 경우
또는
소스 SearchResultAttributeCollection의 요소 수가 대상 array의 index부터 끝까지 사용 가능한 공간보다 큽니다.
소스 SearchResultAttributeCollection의 형식을 대상 array의 형식으로 자동 캐스팅할 수 없습니다.