UtilDirectoryGetSize Method
Gets the size of a directory, in bytes.
Namespace: DevCase.Core.IO.FileSystemAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static double GetSize(
string directoryPath,
SearchOption searchOption
)
Public Shared Function GetSize (
directoryPath As String,
searchOption As SearchOption
) As Double
Dim directoryPath As String
Dim searchOption As SearchOption
Dim returnValue As Double
returnValue = UtilDirectory.GetSize(directoryPath,
searchOption)
public:
static double GetSize(
String^ directoryPath,
SearchOption searchOption
)
static member GetSize :
directoryPath : string *
searchOption : SearchOption -> float
No code example is currently available or this language may not be supported.
- directoryPath String
-
The directory path.
- searchOption SearchOption
-
The SearchOption.
Double
The directory size, in bytes.
This is a code example.
No code example is currently available or this language may not be supported.
Dim dirsize As Long = GetSize("C:\Directory\", SearchOption.AllDirectories)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.