Partager via


TextFormat Class

 

Contains methods that are used to format text.

Namespace:   Microsoft.WindowsServerSolutions.Common
Assembly:  AdminCommon (in AdminCommon.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsServerSolutions.Common.TextFormat

Syntax

public static class TextFormat
public ref class TextFormat abstract sealed 
Public NotInheritable Class TextFormat

Methods

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.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsServerSolutions.Common Namespace

Return to top