WinFormsPathCollection.GetFolderSize Method (String, WinFormsPathCollection.GetFolderSizeCallbackDelegate, 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
Syntaxpublic static void GetFolderSize(
string p_Path,
WinFormsPathCollection.GetFolderSizeCallbackDelegate p_Callback,
Object p_State
)
Public Shared Sub GetFolderSize (
p_Path As String,
p_Callback As WinFormsPathCollection.GetFolderSizeCallbackDelegate,
p_State As Object
)
public:
static void GetFolderSize(
String^ p_Path,
WinFormsPathCollection.GetFolderSizeCallbackDelegate^ p_Callback,
Object^ p_State
)
static member GetFolderSize :
p_Path : string *
p_Callback : WinFormsPathCollection.GetFolderSizeCallbackDelegate *
p_State : Object -> unit
Parameters
- p_Path
- Type: System.String
The full path of the folder for that the size should be calculated. - p_Callback
- Type: Jam.Shell.WinFormsPathCollection.GetFolderSizeCallbackDelegate
A delegate that should be called with the results of the calculation. - p_State
- Type: System.Object
An optional, user-provided object that distinguishes this particular asynchronous request from other requests.
See Also