SftpItemCollection.CopyTo Method
Namespace: Rebex.Net
Assembly: Rebex.Sftp.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(SftpItem[], Int32)
Copies the range of elements from the collection to a one-dimensional SftpItem array, starting at the specified index of the target array.
Declaration
public void CopyTo(SftpItem[] array, int index)
Parameters
Type | Name | Description |
---|---|---|
SftpItem[] | array | One-dimensional zero-based SftpItem 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. |