WinFormsPathCollectionGetFolderSize Method (String, WinFormsPathCollectionGetFolderSizeCallbackDelegate, Object) |
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: 7.1
Syntax public static void GetFolderSize(
string p_Path,
WinFormsPathCollectionGetFolderSizeCallbackDelegate p_Callback,
Object p_State
)
Public Shared Sub GetFolderSize (
p_Path As String,
p_Callback As WinFormsPathCollectionGetFolderSizeCallbackDelegate,
p_State As Object
)
public:
static void GetFolderSize(
String^ p_Path,
WinFormsPathCollectionGetFolderSizeCallbackDelegate^ p_Callback,
Object^ p_State
)
static member GetFolderSize :
p_Path : string *
p_Callback : WinFormsPathCollectionGetFolderSizeCallbackDelegate *
p_State : Object -> unit
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.
See Also