다음을 통해 공유


XmlaResultCollection.ICollection.CopyTo 메서드

Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.

네임스페이스:  Microsoft.AnalysisServices
어셈블리:  Microsoft.AnalysisServices(Microsoft.AnalysisServices.dll)

구문

‘선언
Private Sub CopyTo ( _
    array As Array, _
    index As Integer _
) Implements ICollection.CopyTo
‘사용 방법
Dim instance As XmlaResultCollection 
Dim array As Array 
Dim index As Integer 

CType(instance, ICollection).CopyTo(array, _
    index)
void ICollection.CopyTo(
    Array array,
    int index
)
private:
virtual void CopyTo(
    Array^ array, 
    int index
) sealed = ICollection::CopyTo
private abstract CopyTo : 
        array:Array * 
        index:int -> unit  
private override CopyTo : 
        array:Array * 
        index:int -> unit
JScript는 명시적 인터페이스 구현의 사용을 지원하지만 새로운 명시적 인터페이스 구현의 선언은 지원하지 않습니다.

매개 변수

  • array
    유형: System.Array
    The one-dimensional array into which the elements of the collection are being copied.
  • index
    유형: System.Int32
    The zero-based index in array at which copying begins.

구현

ICollection.CopyTo(Array, Int32)

참고 항목

참조

XmlaResultCollection 클래스

Microsoft.AnalysisServices 네임스페이스