TOTALFREESPACE和AvailableFreeSpace之间的区别是什么 [英] What is the difference between TotalFreeSpace and AvailableFreeSpace
问题描述
无法理解之间的差异 TOTALFREESPACE
和 AvailableFreeSpace
在在 DriveInfo.TotalFreeSpace
文档和的在 DriveInfo.AvailableFreeSpace
分别告诉你:
答记者问(
TOTALFREESPACE
)该属性表示可用空间总量的驱动器上,而不仅是提供给当前用户。
答记者问(
AvailableFreeSpace
)该属性表示可用空间的驱动器上的金额。注意,这个数目可以是从<不同href="http://msdn.microsoft.com/en-us/library/system.io.driveinfo.totalfreespace.aspx">TotalFreeSpace一些因为这个属性考虑到了磁盘配额。
Unable to understand the difference between TotalFreeSpace
and AvailableFreeSpace
The documentation on DriveInfo.TotalFreeSpace
and on DriveInfo.AvailableFreeSpace
tell you respectively:
Remarks (
TotalFreeSpace
)This property indicates the total amount of free space available on the drive, not just what is available to the current user.
Remarks (
AvailableFreeSpace
)This property indicates the amount of free space available on the drive. Note that this number may be different from the TotalFreeSpace number because this property takes into account disk quotas.
这篇关于TOTALFREESPACE和AvailableFreeSpace之间的区别是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!