다음을 통해 공유


CopyTo 메서드

지정한 인덱스 값에서 시작하여 컬렉션 개체를 1차원 배열에 복사합니다.

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

구문

‘선언
Public Sub CopyTo ( _
    array As ServiceQueue(), _
    index As Integer _
)
‘사용 방법
Dim instance As ServiceQueueCollection
Dim array As ServiceQueue()
Dim index As Integer

instance.CopyTo(array, index)
public void CopyTo(
    ServiceQueue[] array,
    int index
)
public:
void CopyTo(
    array<ServiceQueue^>^ array, 
    int index
)
member CopyTo : 
        array:ServiceQueue[] * 
        index:int -> unit 
public function CopyTo(
    array : ServiceQueue[], 
    index : int
)

매개 변수