ConfigurationLockCollection.ICollection.CopyTo(Array, Int32) 方法
定义
从目标数组的指定索引处开始,将整个 ConfigurationLockCollection 集合复制到兼容的一维 Array。Copies the entire ConfigurationLockCollection collection to a compatible one-dimensional Array, starting at the specified index of the target array.
virtual void System.Collections.ICollection.CopyTo(Array ^ array, int index) = System::Collections::ICollection::CopyTo;
void ICollection.CopyTo (Array array, int index);
abstract member System.Collections.ICollection.CopyTo : Array * int -> unit
override this.System.Collections.ICollection.CopyTo : Array * int -> unit
Sub CopyTo (array As Array, index As Integer) Implements ICollection.CopyTo
参数
- array
- Array
一个一维 Array,它是从 ConfigurationLockCollection 集合复制的元素的目标。A one-dimensional Array that is the destination of the elements copied from the ConfigurationLockCollection collection. Array 必须具有从零开始的索引。The Array must have zero-based indexing.
- index
- Int32
array 中从零开始的索引,从此处开始复制。The zero-based index in array at which copying begins.