DataGridViewComboBoxCell.ObjectCollection.CopyTo(Object[], Int32) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
コレクション全体を、配列内の指定した位置にあるオブジェクトの既存の配列にコピーします。
public:
void CopyTo(cli::array <System::Object ^> ^ destination, int arrayIndex);
public void CopyTo(object[] destination, int arrayIndex);
member this.CopyTo : obj[] * int -> unit
Public Sub CopyTo (destination As Object(), arrayIndex As Integer)
パラメーター
- destination
- Object[]
内容のコピー先となるコピー先の配列。
- arrayIndex
- Int32
コピーを開始する destination 内の要素のインデックス。
例外
destination は nullです。
arrayIndex が 0 より小さいか、 destinationの長さ以上です。
-又は-
DataGridViewComboBoxCell.ObjectCollection内の要素の数が、arrayIndexからdestinationの末尾までの使用可能な領域を超えています。
destination は多次元です。