| DfsClientDelete Method |
Deletes the specified file or directory.
Namespace:
Ookii.Jumbo.Dfs.FileSystem
Assembly:
Ookii.Jumbo.Dfs (in Ookii.Jumbo.Dfs.dll) Version: 2.0.0
Syntax public override bool Delete(
string path,
bool recursive
)
Public Overrides Function Delete (
path As String,
recursive As Boolean
) As Boolean
public:
virtual bool Delete(
String^ path,
bool recursive
) override
abstract Delete :
path : string *
recursive : bool -> bool
override Delete :
path : string *
recursive : bool -> bool
Parameters
- path
- Type: SystemString
The path of the file or directory to delete. - recursive
- Type: SystemBoolean
to delete all children if path refers to a directory; otherwise .
Return Value
Type:
Boolean if the file was deleted;
if it doesn't exist.
See Also