Converters.ToFileSizeString(Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Translate numeric file size in bytes to a human-readable shorter string format.
public static string ToFileSizeString (long size);
static member ToFileSizeString : int64 -> string
Public Shared Function ToFileSizeString (size As Long) As String
Parameters
- size
- Int64
File size in bytes.
Returns
Returns file size short string.