DesignerVerbCollection.CopyTo(DesignerVerb[], Int32) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
コレクション メンバーを、指定したコピー先インデックスから始まる指定した 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)