PathCollectionGetFolderSize(String, Int32, Int32) Method |
Returns the size of a folder, including all files in all subfolders, and the file count.
Namespace: Jam.ShellAssembly: ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.2
Syntaxpublic static long GetFolderSize(
string p_Path,
out int p_FileCount,
out int p_FolderCount
)
Public Shared Function GetFolderSize (
p_Path As String,
<OutAttribute> ByRef p_FileCount As Integer,
<OutAttribute> ByRef p_FolderCount As Integer
) As Long
public:
static long long GetFolderSize(
String^ p_Path,
[OutAttribute] int% p_FileCount,
[OutAttribute] int% p_FolderCount
)
static member GetFolderSize :
p_Path : string *
p_FileCount : int byref *
p_FolderCount : int byref -> int64 Parameters
- p_Path String
- The full path of the folder.
- p_FileCount Int32
- A variable in that the number of files will be returned.
- p_FolderCount Int32
- A variable in that the number of subfolders will be returned.
Return Value
Int64The size of the given folder in Bytes.
Exceptions
See Also