Returns the size of a folder, including all files in all subfolders.
- p_Path (String)
- The full path of the folder.
The size of the given folder in Bytes.
| Exception | Condition |
|---|---|
| DirectoryNotFoundException | The path is invalid, such as being on an unmapped drive. |
| ArgumentNullException |
p_Path is a null reference |
| SecurityException | The caller does not have the required permission. |
| PathTooLongException | The given path contains a subfolder that's fullpath has more than 260 characters. |