DataHelperGetSizeString Method (Int64, FileSizeUnitsEnum) |
Returns the string for the specified file size.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax public static string GetSizeString(
long size,
FileSizeUnitsEnum unit
)
Parameters
- size
- Type: SystemInt64
File size in bytes - unit
- Type: CMS.BaseFileSizeUnitsEnum
Unit in which you want to result
Return Value
Type:
StringSee Also