LocalUserManagerClearDirectory Method
Clears the directory of all files but does not delete the directory itself
Namespace: PCB_Investigator.Automation.UserManagerAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public Task<TryResults<bool>> ClearDirectory(
string path,
bool recursive
)
Public Function ClearDirectory (
path As String,
recursive As Boolean
) As Task(Of TryResults(Of Boolean))
public:
virtual Task<TryResults<bool>^>^ ClearDirectory(
String^ path,
bool recursive
) sealed
abstract ClearDirectory :
path : string *
recursive : bool -> Task<TryResults<bool>>
override ClearDirectory :
path : string *
recursive : bool -> Task<TryResults<bool>>
- path String
- relative path starting but not includign /user/
- recursive Boolean
- deeper than one level
TaskTryResultsBooleanTrue if it worked
IPluginUserManagerProviderClearDirectory(String, Boolean)