Int32Collection.CopyTo(Int32[], Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copies all of the Int32 values in a collection to a specified array.
public:
virtual void CopyTo(cli::array <int> ^ array, int index);
public void CopyTo (int[] array, int index);
abstract member CopyTo : int[] * int -> unit
override this.CopyTo : int[] * int -> unit
Public Sub CopyTo (array As Integer(), index As Integer)
Parameters
- array
- Int32[]
Identifies the array to which content is copied.
- index
- Int32
Index position in the array to which the contents of the collection are copied.
Implements
Exceptions
index
is less than zero.
array
is multidimensional.
-or-
The number of items in the source Int32Collection is greater than the available space from index
to the end of the destination array
.
Applies to
See also
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示