PathCollectionGetFolderSize260 Method |
Returns the size of a folder, including all files in all subfolders, and the file count for paths that
don't contain folders longer than 260 characters, this is the old implementation that was used in ShellBrowser.Net
up to and including version 4.0.0.3
path must include a trailing backslash
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.1
Syntax public static long GetFolderSize260(
string p_Path,
out int p_FileCount,
out int p_FolderCount
)
Public Shared Function GetFolderSize260 (
p_Path As String,
<OutAttribute> ByRef p_FileCount As Integer,
<OutAttribute> ByRef p_FolderCount As Integer
) As Long
public:
static long long GetFolderSize260(
String^ p_Path,
[OutAttribute] int% p_FileCount,
[OutAttribute] int% p_FolderCount
)
static member GetFolderSize260 :
p_Path : string *
p_FileCount : int byref *
p_FolderCount : int byref -> int64
Parameters
- p_Path
- Type: SystemString
The full path of the folder. - p_FileCount
- Type: SystemInt32
A variable in that the number of files will be returned. - p_FolderCount
- Type: SystemInt32
A variable in that the number of subfolders will be returned.
Return Value
Type:
Int64The size of the given folder in Bytes.
Return Value
Type:
Int64 Returns the size of a folder, including all files in all subfolders, and the file count for paths.
Exceptions See Also