WinFormsPathCollectionGetFolderSize(String, WinFormsPathCollectionGetFolderSizeCallbackDelegate, Object) Method |
Asynchronoulsy calculates the size of a folder, including all files in all subfolders, and the file count.
Namespace: Jam.ShellAssembly: ShellBrowser (in ShellBrowser.dll) Version: 7.2
Syntaxpublic 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 String
- The full path of the folder for that the size should be calculated.
- p_Callback WinFormsPathCollectionGetFolderSizeCallbackDelegate
- A delegate that should be called with the results of the calculation.
- p_State Object
- An optional, user-provided object that distinguishes this particular asynchronous request from other requests.
See Also