FtpItemCollection.Remove Method
Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9083)
Remove(FtpItem)
Removes the specified item from the collection. Fails if not found.
Declaration
public void Remove(FtpItem item)
Parameters
Type | Name | Description |
---|---|---|
FtpItem | 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. |