Partager via


TextFormat.LegibleSize Method (Int64, LegibleSizeFormat)

 

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

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

Syntax

public static string LegibleSize(
    long sizeInBytes,
    LegibleSizeFormat sizeFormat
)
public:
static String^ LegibleSize(
    long long sizeInBytes,
    LegibleSizeFormat sizeFormat
)
Public Shared Function LegibleSize (
    sizeInBytes As Long,
    sizeFormat As LegibleSizeFormat
) As String

Parameters

Return Value

Type: System.String

A System.String.

See Also

LegibleSize Overload
TextFormat Class
Microsoft.WindowsServerSolutions.Common Namespace

Return to top