SftpItemCollection.CopyTo Method
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9147)
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(SftpItem[], Int32)
Copies the range of elements from the collection to a one-dimensional
Sftp
Declaration
public void CopyTo(SftpItem[] array, int index)
Parameters
Type | Name | Description |
---|---|---|
Sftp |
array | One-dimensional zero-based Sftp |
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
File
Declaration
public void CopyTo(FileSystemItem[] array, int index)
Parameters
Type | Name | Description |
---|---|---|
File |
array | One-dimensional zero-based File |
Int32 | index | A zero-based index in the destination array at which copying begins. |