Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

SftpItemCollection.Remove Method

Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9147)

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.

Implements
ICollection<T>.Remove(T)
In This Article
  • Remove(SftpItem)
  • Remove(String)
  • Remove(FileSystemItem)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies