FtpItemCollection.CopyTo Method
Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9083)
CopyTo(Array, Int32)
Copies the range of elements from the collection to a compatible one-dimensional Array, starting at the specified index of the target array.
Declaration
public void CopyTo(Array array, int index)
Parameters
Type | Name | Description |
---|---|---|
Array | array | One-dimensional zero-based array that is the destination of the elements copied from the collection. |
Int32 | index | A zero-based index in the destination array at which copying begins. |
Implements
CopyTo(FtpItem[], Int32)
Copies the range of elements from the collection to a one-dimensional FtpItem array, starting at the specified index of the target array.
Declaration
public void CopyTo(FtpItem[] array, int index)
Parameters
Type | Name | Description |
---|---|---|
FtpItem[] | array | One-dimensional zero-based FtpItem array that is the destination of the elements copied from the collection. |
Int32 | index | A zero-based index in the destination array at which copying begins. |
Implements
CopyTo(FileSystemItem[], Int32)
Copies the range of elements from the collection to a one-dimensional FileSystemItem array, starting at the specified index of the target array. Inherited from FileSystemItemCollection.
Declaration
public void CopyTo(FileSystemItem[] array, int index)
Parameters
Type | Name | Description |
---|---|---|
FileSystemItem[] | array | One-dimensional zero-based FileSystemItem array that is the destination of the elements copied from the collection. |
Int32 | index | A zero-based index in the destination array at which copying begins. |