SmoCollectionBase.ICollection.CopyTo 메서드

Copies the elements from an instance to an array beginning at the index indicated.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Private Sub CopyTo ( _
    array As Array, _
    index As Integer _
) Implements ICollection.CopyTo
‘사용 방법
Dim instance As SmoCollectionBase 
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
    [T.System.Array] specifying the array to be copied to.
  • index
    유형: System.Int32
    Int32 specifying the starting array index where the collection will be copied.

구현

ICollection.CopyTo(Array, Int32)

주의

이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.

참고 항목

참조

SmoCollectionBase 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스