SftpItemCollection.Remove Method
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9448)
Remove(SftpItem)
Removes the specified item from the collection. Fails if not found.
Declaration
public void Remove(SftpItem item)
Parameters
| Type | Name | Description |
|---|---|---|
| SftpItem | item | The item to remove from the collection. |
Remove(String)
Removes the item with the specified path from the collection.
Declaration
public void Remove(string path)
Parameters
| Type | Name | Description |
|---|---|---|
| String | path |
Remove(FileSystemItem)
Removes the specified item from the collection. Inherited from FileSystemItemCollection.
Declaration
public virtual bool Remove(FileSystemItem item)
Parameters
| Type | Name | Description |
|---|---|---|
| FileSystemItem | item | The item to remove from the collection. |
Returns
| Type | Description |
|---|---|
| Boolean | True if item was successfully removed from the collection; false otherwise. |