ISharePointCollection<T>.CopyTo(T[], 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 items from this collection into an array.
public:
void CopyTo(cli::array <T> ^ array, int index);
public void CopyTo (T[] array, int index);
abstract member CopyTo : 'T[] * int -> unit
Public Sub CopyTo (array As T(), index As Integer)
Parameters
- array
- T[]
An array to receive items from the collection.
- index
- Int32
An index in the array specifying where to start copying items. To start at the beginning of the array, pass a value of 0.