Serial Framework C++ Edition

◆ Delete()

int Delete ( const tstring &  Name)

Deletes the object with given name.

Parameters
NameThe object's name.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

The object can be any object: file, directory, virtual object.

When the operation completed the OnDeleteComplete event fires.