TextFormat.LegibleSize Method (Int64)
Displays a byte amount, up to the terabyte (TB) level, as a text string in the default format.
Namespace: Microsoft.WindowsServerSolutions.Common
Assembly: AdminCommon (in AdminCommon.dll)
Syntax
public static string LegibleSize(
long sizeInBytes
)
public:
static String^ LegibleSize(
long long sizeInBytes
)
Public Shared Function LegibleSize (
sizeInBytes As Long
) As String
Parameters
sizeInBytes
Type: System.Int64The byte amount.
Return Value
Type: System.String
See Also
LegibleSize Overload
TextFormat Class
Microsoft.WindowsServerSolutions.Common Namespace
Return to top