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