RecycleBinUtilGetItemsCount Method

Gets the count of the items that are inside the recycle bin of an specific drive.

Definition

Namespace: DevCase.ThirdParty.WindowsApiCodePack
Assembly: 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 long GetItemsCount(
	char driveLetter
)

Parameters

driveLetter  Char
The recycle bin drive letter.

Return Value

Int64
The count of the items that are inside the recycle bin of an specific drive.

Remarks

Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:

https://www.nuget.org/packages/WindowsAPICodePack

See Also