Click or drag to resize

WinFormsPathCollectionGetFolderSize Method (String, WinFormsPathCollectionGetFolderSizeCallbackDelegate, Object, Int32)

Asynchronoulsy calculates the size of a folder, including all files in all subfolders, and the file count.

Namespace:  Jam.Shell
Assembly:  ShellBrowser (in ShellBrowser.dll) Version: 6.3.1
Syntax
public static void GetFolderSize(
	string p_Path,
	WinFormsPathCollectionGetFolderSizeCallbackDelegate p_Callback,
	Object p_State,
	int handle
)

Parameters

p_Path
Type: SystemString
The full path of the folder for that the size should be calculated.
p_Callback
Type: Jam.ShellWinFormsPathCollectionGetFolderSizeCallbackDelegate
A delegate that should be called with the results of the calculation.
p_State
Type: SystemObject
An optional, user-provided object that distinguishes this particular asynchronous request from other requests.
handle
Type: SystemInt32
A handle that identifies the control that requested the call.
See Also