1

在此处输入图像描述

如何获取 recyclebin 的这个属性并使用 C# 切换它。

4

1 回答 1

0

There is no supported way to do so irrespective of language.

As far as I understand there is no API to configure this settings. You can query information about recycle bin via PInvoke (SHQueryRecycleBin and empty (SHEmptyRecycleBin).

Couple ways to touch those settings can be found in Raymond Chen's blog post - What is default size of the Recycle Bin.... Summary below:

于 2017-03-16T03:36:54.310 回答