Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Displays a nonnegative 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(
    ulong sizeInBytes,
    LegibleSizeFormat sizeFormat
)
public:
static String^ LegibleSize(
    unsigned long long sizeInBytes,
    LegibleSizeFormat sizeFormat
)
Public Shared Function LegibleSize (
    sizeInBytes As ULong,
    sizeFormat As LegibleSizeFormat
) As String
Parameters
- sizeInBytes 
 Type: System.UInt64- The byte amount. 
- sizeFormat 
 Type: Microsoft.WindowsServerSolutions.Common.LegibleSizeFormat- One of the LegibleSizeFormat enumeration values that represents the size format to be used. 
Return Value
Type: System.String
See Also
LegibleSize Overload
TextFormat Class
Microsoft.WindowsServerSolutions.Common Namespace
Return to top