DesignerVerbCollection.CopyTo(DesignerVerb[], Int32) 메서드

정의

지정된 대상 인덱스에서 시작하는 지정된 DesignerVerb 배열에 컬렉션 멤버를 복사합니다.

public:
 void CopyTo(cli::array <System::ComponentModel::Design::DesignerVerb ^> ^ array, int index);
public void CopyTo (System.ComponentModel.Design.DesignerVerb[] array, int index);
public void CopyTo (System.ComponentModel.Design.DesignerVerb?[] array, int index);
member this.CopyTo : System.ComponentModel.Design.DesignerVerb[] * int -> unit
Public Sub CopyTo (array As DesignerVerb(), index As Integer)

매개 변수

array
DesignerVerb[]

컬렉션 멤버를 복사할 배열입니다.

index
Int32

복사를 시작할 대상 인덱스입니다.

예제

다음 코드 예제에서는 배열에 개체의 DesignerVerb 컬렉션을 복사 하는 방법을 보여 줍니다.

// Copies the contents of the collection, beginning at index 0,
// to the specified DesignerVerb array.
// 'verbs' is a DesignerVerb array.
collection->CopyTo( verbs, 0 );
// Copies the contents of the collection, beginning at index 0, 
// to the specified DesignerVerb array.
// 'verbs' is a DesignerVerb array.
collection.CopyTo( verbs, 0 );
' Copies the contents of the collection, beginning at index 0, 
' to the specified DesignerVerb array.
' 'verbs' is a DesignerVerb array.
collection.CopyTo(verbs, 0)

적용 대상