TextFormat.LegibleSize Method
Displays a byte amount, up to the terabyte (TB) or exabyte (EB) level, as a text string in a particular format. Variants of this method can also specify the number of rounding decimal digits or the maximum length of the text string.
Namespace: Microsoft.WindowsServerSolutions.Common
Assembly: AdminCommon (in AdminCommon.dll)
Overload List
Name | Description | |
---|---|---|
LegibleSize(Int64) | Displays a byte amount, up to the terabyte (TB) level, as a text string in the default format. |
|
LegibleSize(Int64, Int32) | Displays a byte amount, up to the exabyte (EB) level, as a text string in the default format with the specified number of rounding decimal digits. |
|
LegibleSize(Int64, Int32, Int32) | Displays a byte amount, up to the exabyte (EB) level, as a text string in the default format with the specified number of rounding decimal digits and a maximum length. |
|
LegibleSize(Int64, Int32, Int32, LegibleSizeFormat) | Displays a byte amount, up to the exabyte (EB) level, as a text string in the specified format with the specified number of rounding decimal digits and a maximum length. |
|
LegibleSize(Int64, Int32, LegibleSizeFormat) | Displays a byte amount, up to the exabyte (EB) level, as a text string in the specified format with the specified number of rounding decimal digits. |
|
LegibleSize(Int64, LegibleSizeFormat) | Displays a byte amount, up to the terabyte (TB) level, as a text string in the specified format. |
|
LegibleSize(UInt64) | Displays a nonnegative byte amount, up to the terabyte (TB) level, as a text string in the default format. |
|
LegibleSize(UInt64, Int32) | Displays a nonnegative byte amount, up to the exabyte (EB) level, as a text string in the default format with the specified number of rounding decimal digits. |
|
LegibleSize(UInt64, Int32, Int32) | Displays a nonnegative byte amount, up to the exabyte (EB) level, as a text string in the default format with the specified number of rounding decimal digits and a maximum length. |
|
LegibleSize(UInt64, Int32, Int32, LegibleSizeFormat) | Displays a nonnegative byte amount, up to the exabyte (EB) level, as a text string in the specified format with the specified number of rounding decimal digits and a maximum length. |
|
LegibleSize(UInt64, Int32, LegibleSizeFormat) | Displays a nonnegative byte amount, up to the exabyte (EB) level, as a text string in the specified format with the specified number of rounding decimal digits. |
|
LegibleSize(UInt64, LegibleSizeFormat) | Displays a nonnegative byte amount, up to the terabyte (TB) level, as a text string in the specified format. |
See Also
TextFormat Class
Microsoft.WindowsServerSolutions.Common Namespace
Return to top