FileSystemItemCollection.Remove Method
Namespace: Rebex.IO
Assembly: Rebex.Common.dll (version 7.0.9313)
Remove(FileSystemItem)
Removes the specified item from the collection.
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
Remove(String)
Removes the item with the specified path from the collection.
Declaration
public bool Remove(string path)
Parameters
| Type | Name | Description |
|---|---|---|
| String | path | The path of an item to remove from the collection. |
Returns
| Type | Description |
|---|---|
| Boolean |