RecycleBinUtilClean Method
Cleans the Recycle Bin of an specific Drive.
Namespace: DevCase.ThirdParty.WindowsApiCodePackAssembly: DevCase.net48.ThirdParty.WindowsApiCodePack (in DevCase.net48.ThirdParty.WindowsApiCodePack.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static bool Clean(
char driveLetter,
RecycleFlags flags =
)
Public Shared Function Clean (
driveLetter As Char,
Optional flags As RecycleFlags =
) As Boolean
Dim driveLetter As Char
Dim flags As RecycleFlags
Dim returnValue As Boolean
returnValue = RecycleBinUtil.Clean(driveLetter,
flags)
public:
static bool Clean(
wchar_t driveLetter,
RecycleFlags flags =
)
static member Clean :
driveLetter : char *
?flags : RecycleFlags
(* Defaults:
let _flags = defaultArg flags
*)
-> bool
No code example is currently available or this language may not be supported.
- driveLetter Char
-
The recycle bin drive letter.
If this parameter is then it cleans all the Recycle Bins.
- flags RecycleFlags (Optional)
-
The recycle bin behavior.
Boolean if operation succeeds,
otherwise.