Edit

Share via


Converters.ToFileSizeString(Int64) Method

Definition

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.

Applies to