次の方法で共有


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
System_CAPS_pubmethodSystem_CAPS_static LegibleSize(Int64)

Displays a byte amount, up to the terabyte (TB) level, as a text string in the default format.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static LegibleSize(Int64, LegibleSizeFormat)

Displays a byte amount, up to the terabyte (TB) level, as a text string in the specified format.

System_CAPS_pubmethodSystem_CAPS_static LegibleSize(UInt64)

Displays a nonnegative byte amount, up to the terabyte (TB) level, as a text string in the default format.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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